]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/drecurse-cmd.py
web: don't re-resolve item in listing
[bup.git] / lib / cmd / drecurse-cmd.py
index 22dc3e141a2ef544467b2c7700d26ca8a73542c8..1c6791832741186238c1151e1b57943805cb1ba1 100755 (executable)
@@ -9,14 +9,16 @@ for arg in "$@"; do
     arg_i=$((arg_i + 1))
 done
 # Here to end of preamble replaced during install
-bup_python="$(dirname "$0")/bup-python" || exit $?
+bup_python="$(dirname "$0")/../../config/bin/python" || exit $?
 exec "$bup_python" "$0"
 """
 # end of bup preamble
 
 from __future__ import absolute_import, print_function
 from os.path import relpath
-import sys
+import os.path, sys
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, options, drecurse
 from bup.compat import argv_bytes