Make sure not to add colon unless required

This commit is contained in:
ZyX 2015-01-03 00:04:11 +03:00
parent 375a169825
commit e86ec8bf99
1 changed files with 1 additions and 1 deletions

View File

@ -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"