Support running run-tests.sh from other directories
We'll see if this works with the bare /bin/sh's of TravisCI...
This commit is contained in:
parent
cc072eca9f
commit
19f361b97c
@ -11,7 +11,8 @@ fi
|
|||||||
test "x$PYTHON" = x && PYTHON=python
|
test "x$PYTHON" = x && PYTHON=python
|
||||||
|
|
||||||
# Setup environment
|
# Setup environment
|
||||||
cd Lib
|
DIR=`dirname "$0"`
|
||||||
|
cd "$DIR/Lib"
|
||||||
PYTHONPATH=".:$PYTHONPATH"
|
PYTHONPATH=".:$PYTHONPATH"
|
||||||
export PYTHONPATH
|
export PYTHONPATH
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user