]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/fsck-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / fsck-cmd.py
index 035300d16d694e797f31879a16ff367a9c328bae..e5eea329d06e8dd303602c81ad66536b1b3bc9c0 100755 (executable)
@@ -15,12 +15,14 @@ exec "$bup_python" "$0"
 # end of bup preamble
 
 from __future__ import absolute_import, print_function
-import sys, os, glob, subprocess
+import os, glob, subprocess, sys
 from shutil import rmtree
 from subprocess import PIPE, Popen
 from tempfile import mkdtemp
 from binascii import hexlify
 
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
+
 from bup import compat, options, git
 from bup.compat import argv_bytes
 from bup.helpers import Sha1, chunkyreader, istty2, log, progress