From 73f0cef67e0ba37f5103072e3c225f6938ec07a1 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 17 Jan 2011 12:10:47 +0000 Subject: [PATCH] Do not override existing PYTHONPATH --- config_files/Python-2.6.6.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}) -- 2.39.2