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:
Behdad Esfahbod 2015-04-25 15:55:45 -07:00
parent cc072eca9f
commit 19f361b97c

View File

@ -11,7 +11,8 @@ fi
test "x$PYTHON" = x && PYTHON=python
# Setup environment
cd Lib
DIR=`dirname "$0"`
cd "$DIR/Lib"
PYTHONPATH=".:$PYTHONPATH"
export PYTHONPATH