]> arthur.barton.de Git - bup.git/commitdiff
wvtest.py: correct bup-python in #! preamble
authorRob Browning <rlb@defaultvalue.org>
Tue, 29 Dec 2015 01:57:41 +0000 (19:57 -0600)
committerRob Browning <rlb@defaultvalue.org>
Tue, 29 Dec 2015 01:57:43 +0000 (19:57 -0600)
Otherwise, manual invocations like "./wvtest.py lib/bup/t/tgit.py" fail.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
wvtest.py

index bdd1d79319290a333e8d1db328fa74cec21e1cdd..1c2981e9be31975fe58aa2bd7d85fa2a581ea0b6 100755 (executable)
--- a/wvtest.py
+++ b/wvtest.py
@@ -1,6 +1,6 @@
 #!/bin/sh
 """": # -*-python-*-
-export PATH="$(dirname "$0")/cmd:$PATH"
+bup_python="$(dirname "$0")/cmd/bup-python"
 exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble