Salome HOME
projects
/
tools
/
install.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve pick-up environment mechanizm
[tools/install.git]
/
config_files
/
VISU_BIN_1.4.1.sh
diff --git
a/config_files/VISU_BIN_1.4.1.sh
b/config_files/VISU_BIN_1.4.1.sh
index 278c9b5b99a95352e28f73fc259c6d5f33eff086..0eb2b6a0697876ec06791fb5b0df30c029883551 100755
(executable)
--- a/
config_files/VISU_BIN_1.4.1.sh
+++ b/
config_files/VISU_BIN_1.4.1.sh
@@
-1,10
+1,10
@@
#!/bin/sh
check_version(){
#!/bin/sh
check_version(){
-if [ -n "${
MED
_ROOT_DIR}" ]; then
- check_lib_version VERSION ${
MED
_ROOT_DIR}/bin
+if [ -n "${
VISU
_ROOT_DIR}" ]; then
+ check_lib_version VERSION ${
VISU
_ROOT_DIR}/bin
if [ "$?" -eq "0" ]; then
if [ "$?" -eq "0" ]; then
- ver=`cat ${
MED
_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
+ ver=`cat ${
VISU
_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' `
if [ "$ver" = "1.4.1" ]; then
return 0
fi
if [ "$ver" = "1.4.1" ]; then
return 0
fi
@@
-20,7
+20,7
@@
export VISU_ROOT_DIR=\${INSTALL_ROOT}/${PRODUCT}
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
##
EOF
(test -w ${PRODUCT_DIR} && cp ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh ${PRODUCT_DIR})
-(make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} ${PRODUCT_DIR})
+make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}"
}
# looks for the native product and collects it's environment (used by make_env())
}
# looks for the native product and collects it's environment (used by make_env())