Make sure not to add colon unless required
This commit is contained in:
parent
375a169825
commit
e86ec8bf99
|
@ -18,7 +18,7 @@ if test -n "$USE_UCS2_PYTHON" ; then
|
|||
fi
|
||||
|
||||
export PYTHON="${PYTHON:=python}"
|
||||
export PYTHONPATH="${PYTHONPATH}:`realpath .`"
|
||||
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}`realpath .`"
|
||||
for script in tests/run_*_tests.sh ; do
|
||||
if ! sh $script ; then
|
||||
echo "Failed $script"
|
||||
|
|
Loading…
Reference in New Issue