]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/daemon-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / daemon-cmd.py
index d47638eec6074864db76e4eba3e671110eb04f66..5506ea10aa9e085ea4294f874b6277be325be6be 100755 (executable)
@@ -15,7 +15,9 @@ exec "$bup_python" "$0"
 # end of bup preamble
 
 from __future__ import absolute_import
-import sys, getopt, socket, subprocess, fcntl
+import os, sys, getopt, socket, subprocess, fcntl
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, options, path
 from bup.helpers import *