]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix a bug of YACSGEN environment
authorinv <inv@opencascade.com>
Mon, 20 Jun 2011 16:09:52 +0000 (16:09 +0000)
committerinv <inv@opencascade.com>
Mon, 20 Jun 2011 16:09:52 +0000 (16:09 +0000)
config_files/YACSGEN.sh

index da7ef1b88912d69746f99fdf6ce170240a84d4d1..7dc85bc9f42dc7e2816bd380c6d6dfe36c08a733 100755 (executable)
@@ -31,7 +31,7 @@ cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <<EOF
 export YACSGEN_ROOT_DIR=\${INST_ROOT}/${SINGLE_DIR:-${PRODUCT}}
 if [ -n "\${ENV_FOR_LAUNCH}" ] ; then
   if [ "\${ENV_FOR_LAUNCH}" == "1" ] ; then
-    export PYTHONPATH=\${YACSGEN_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages/module_generator:\${PYTHONPATH}
+    export PYTHONPATH=\${YACSGEN_ROOT_DIR}/lib/python\${PYTHON_VERSION}/site-packages:\${PYTHONPATH}
   fi
 fi
 ##