]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/damage-cmd.py
Stop forcing LC_CTYPE=ISO-8859-1
[bup.git] / lib / cmd / damage-cmd.py
index d9e46da55d25189751eee193b97e8442a29aa271..c7c712a138bf05a537b314f3776a7dfc60947e9a 100755 (executable)
@@ -15,7 +15,9 @@ exec "$bup_python" "$0"
 # end of bup preamble
 
 from __future__ import absolute_import
-import sys, os, random
+import os, random, sys
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, options
 from bup.compat import argv_bytes, bytes_from_uint, range