diff options
-rw-r--r-- | jjb/apex/apex.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 9d63d4206..0356ddab3 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -855,10 +855,10 @@ exit 1 fi fi - if [ -z "$PYTHONPATH" ]; then - export PYTHONPATH=${WORKSPACE}/lib/python/apex + if [ -z ${PYTHONPATH:-} ]; then + export PYTHONPATH=${WORKSPACE}/lib/python else - export PYTHONPATH=$PYTHONPATH:${WORKSPACE}/lib/python/apex + export PYTHONPATH=$PYTHONPATH:${WORKSPACE}/lib/python fi else RPM_LIST=$RPM_INSTALL_PATH |