]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/mux-cmd.py
Add bup map including test results to pytest items
[bup.git] / lib / cmd / mux-cmd.py
index 53fe7e6aefadf165153de47fab48ede9e3d1d071..a3b4d57a512cdc7f6114711f17234d1eb7ca3a11 100755 (executable)
@@ -9,13 +9,15 @@ for arg in "$@"; do
     arg_i=$((arg_i + 1))
 done
 # Here to end of preamble replaced during install
-bup_python="$(dirname "$0")/bup-python" || exit $?
+bup_python="$(dirname "$0")/../../config/bin/python" || exit $?
 exec "$bup_python" "$0"
 """
 # end of bup preamble
 
 from __future__ import absolute_import
-import os, sys, subprocess, struct
+import os, struct, subprocess, sys
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, options
 from bup.helpers import debug1, debug2, mux