]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/index-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / index-cmd.py
index 030451e1339d8bcb9392d9558dccf0848c0934be..a47e20888b583e616fc403b6eeb8fe3761a161e4 100755 (executable)
@@ -16,7 +16,9 @@ exec "$bup_python" "$0"
 
 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