]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/fuse-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / fuse-cmd.py
index eb5daf834548bee8360170f7021f0dd6b4e601f9..bb6d98d06f0e86b382f0a1d6f23a508c0aa57ebf 100755 (executable)
@@ -15,7 +15,7 @@ exec "$bup_python" "$0"
 # end of bup preamble
 
 from __future__ import absolute_import, print_function
-import sys, os, errno
+import errno, os, sys
 
 try:
     import fuse
@@ -41,6 +41,8 @@ if sys.version_info[0] > 2:
               file=sys.stderr)
         sys.exit(2)
 
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+
 from bup import compat, options, git, vfs, xstat
 from bup.compat import argv_bytes, fsdecode, py_maj
 from bup.helpers import log