Salome HOME
projects
/
tools
/
install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf04dda
)
Fix a bug of YACSGEN environment
author
inv
<inv@opencascade.com>
Mon, 20 Jun 2011 16:07:03 +0000
(16:07 +0000)
committer
inv
<inv@opencascade.com>
Mon, 20 Jun 2011 16:07:03 +0000
(16:07 +0000)
config_files/YACSGEN.sh
patch
|
blob
|
history
diff --git
a/config_files/YACSGEN.sh
b/config_files/YACSGEN.sh
index 1176ec32b0dcd44225f448144b2612bb35cd75ad..1d121d564310066a8d51227706436b120a22815f 100755
(executable)
--- a/
config_files/YACSGEN.sh
+++ b/
config_files/YACSGEN.sh
@@
-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
##