##// END OF EJS Templates
Make #!/usr/bin/env python in test-bdiff run the specified python version.
Thomas Arendsen Hein -
r1878:a5c46cff default
parent child Browse files
Show More
@@ -53,7 +53,16 b' else'
53 fi
53 fi
54 cd "$TESTDIR"
54 cd "$TESTDIR"
55
55
56 PATH="$INST/bin:$PATH"; export PATH
56 BINDIR="$INST/bin"
57 PATH="$BINDIR:$PATH"; export PATH
58 if [ -n "$PYTHON" ]; then
59 {
60 echo "#!/bin/sh"
61 echo "exec \"$PYTHON"'" "$@"'
62 } > "$BINDIR/python"
63 chmod 755 "$BINDIR/python"
64 fi
65
57 PYTHONPATH="$PYTHONDIR"; export PYTHONPATH
66 PYTHONPATH="$PYTHONDIR"; export PYTHONPATH
58
67
59 run_one() {
68 run_one() {
General Comments 0
You need to be logged in to leave comments. Login now