]> arthur.barton.de Git - bup.git/blobdiff - cmd/list-idx-cmd.py
Configure python, use it, and embed during install
[bup.git] / cmd / list-idx-cmd.py
index a3e3dc96e7f4c695c729699adfb041971508e609..9eb92c177971e474a9fc0307a845a5b8d2b080f6 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, os
 from bup import git, options
 from bup.helpers import *