]> arthur.barton.de Git - bup.git/blobdiff - cmd/init-cmd.py
Configure python, use it, and embed during install
[bup.git] / cmd / init-cmd.py
index 2e4a1513b99c058a1fec43ba0e62091d3ed2158d..e6cc6b51001867aac79494b1501230068a5e1c8d 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
 
 from bup import git, options, client