[run-test.sh] fix an issue when calling sys.executable with subprocess in py23_test.py
This commit is contained in:
parent
b63935c6f8
commit
3a537be111
@ -19,7 +19,11 @@ echo
|
||||
# Setup environment
|
||||
DIR=`dirname "$0"`
|
||||
cd "$DIR/Lib"
|
||||
PYTHONPATH=".:$PYTHONPATH"
|
||||
if [ "x$PYTHONPATH" != "x" ]; then
|
||||
PYTHONPATH=".:$PYTHONPATH"
|
||||
else
|
||||
PYTHONPATH="."
|
||||
fi
|
||||
export PYTHONPATH
|
||||
|
||||
# Find tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user