]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/tick-cmd.py
cirrus: allow failures on macos with python 2
[bup.git] / lib / cmd / tick-cmd.py
index 1a76350f12d333776e5d38c951710b6365b872d0..697057e7f714798be34dcf57b5d215822af608fb 100755 (executable)
@@ -9,16 +9,19 @@ 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 sys, time
+import os, sys, time
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
 
 from bup import compat, options
 
+
 optspec = """
 bup tick
 """