X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcmd%2Findex-cmd.py;h=a479ca9427a7b768ef763aa0cdfe249091d96ace;hb=73f4b83af6c73a0ba48e448883856bf24aacbf7d;hp=030451e1339d8bcb9392d9558dccf0848c0934be;hpb=a4f58b2e4bb1a0208a9cec4b76a596d36134a881;p=bup.git diff --git a/lib/cmd/index-cmd.py b/lib/cmd/index-cmd.py index 030451e..a479ca9 100755 --- a/lib/cmd/index-cmd.py +++ b/lib/cmd/index-cmd.py @@ -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 binascii import hexlify -import sys, stat, time, os, errno, re +import errno, os, re, stat, sys, time + +sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..'] from bup import compat, metadata, options, git, index, drecurse, hlinkdb from bup.compat import argv_bytes