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