]> arthur.barton.de Git - bup.git/blobdiff - cmd/tag-cmd.py
Configure python, use it, and embed during install
[bup.git] / cmd / tag-cmd.py
index f33855ec7e293b8b98409464a6cb85edf2284e36..f12ea4e473a4349cf13b24f19c087a30be8ca2a5 100755 (executable)
@@ -1,4 +1,9 @@
-#!/usr/bin/env python
+#!/bin/sh
+"""": # -*-python-*-
+bup_python="$(dirname "$0")/bup-python" || exit $?
+exec "$bup_python" "$0" ${1+"$@"}
+"""
+# end of bup preamble
 
 import sys
 import os