From: vsr Date: Mon, 17 Jan 2011 12:10:47 +0000 (+0000) Subject: Do not override existing PYTHONPATH X-Git-Tag: V6_3_0~52 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73f0cef67e0ba37f5103072e3c225f6938ec07a1;p=tools%2Finstall.git Do not override existing PYTHONPATH --- diff --git a/config_files/Python-2.6.6.sh b/config_files/Python-2.6.6.sh index 57bbb10..d1cff1f 100755 --- a/config_files/Python-2.6.6.sh +++ b/config_files/Python-2.6.6.sh @@ -41,9 +41,9 @@ export PYTHONROOT=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}} export PYTHONHOME=\$PYTHONROOT export PATH=\${PYTHONROOT}/bin:\${PATH} export LD_LIBRARY_PATH=\${PYTHONROOT}/lib:\${LD_LIBRARY_PATH} -export PYTHON_VERSION=\`python -c "import sys; print sys.version[:3]"\` +export PYTHON_VERSION=$PY_LIBVERSION export PYTHON_INCLUDE=\${PYTHONROOT}/include/python\${PYTHON_VERSION} -export PYTHONPATH=\${PYTHONROOT}/lib/python\${PYTHON_VERSION} +export PYTHONPATH=\${PYTHONROOT}/lib/python\${PYTHON_VERSION}:\${PYTHONPATH} ## EOF (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})