]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix bug: site_packages instead of site-packages
authorvsr <vsr@opencascade.com>
Fri, 26 Mar 2004 05:58:27 +0000 (05:58 +0000)
committervsr <vsr@opencascade.com>
Fri, 26 Mar 2004 05:58:27 +0000 (05:58 +0000)
config_files/VTK-4.2.2.sh

index 830ca1182fec3593c15e8a52d392637ea825a416..1e469780088ee70c030e0b23ac93db29ea5c9490 100755 (executable)
@@ -21,7 +21,7 @@ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
 export VTKHOME=\${INSTALL_ROOT}/${PRODUCT}
 export PATH=\${VTKHOME}/bin:\${PATH}
 export LD_LIBRARY_PATH=\${VTKHOME}/lib/vtk:\${LD_LIBRARY_PATH}
-export PYTHONPATH=\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python2.2/site_packages/vtk_python:\${PYTHONPATH}
+export PYTHONPATH=\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python2.2/site-packages/vtk_python:\${PYTHONPATH}
 ##
 EOF
 (test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
@@ -36,7 +36,7 @@ if [ $? -eq 0 ] ; then
     path=`sort_path ${tmp}`
     tmp="\${VTKHOME}/lib/vtk ${VTKHOME}/lib/vtk \${LD_LIBRARY_PATH} ${LD_LIBRARY_PATH}";  
     ld_library_path=`sort_path ${tmp}`
-    tmp="\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python2.2/site_packages/vtk_python ${VTKHOME}/lib/vtk:${VTKHOME}/lib/python2.2/site_packages/vtk_python \${PYTHONPATH} ${PYTHONPATH}";  
+    tmp="\${VTKHOME}/lib/vtk:\${VTKHOME}/lib/python2.2/site-packages/vtk_python ${VTKHOME}/lib/vtk:${VTKHOME}/lib/python2.2/site-packages/vtk_python \${PYTHONPATH} ${PYTHONPATH}";  
     python_path=`sort_path ${tmp}`
     cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF 
 #$DELIM ${PRODUCT_TYPE} $DELIM