]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix pb with SIMAN installation in binaries mode
authorinv <inv@opencascade.com>
Wed, 18 Dec 2013 09:46:11 +0000 (09:46 +0000)
committerinv <inv@opencascade.com>
Wed, 18 Dec 2013 09:46:11 +0000 (09:46 +0000)
config_files/SIMAN.sh

index d5001b8235cb097f3a04d3be3fdaa057b3401d9b..74ba59ebcad82c7ddc0aecd305a844bfbed3eeeb 100755 (executable)
@@ -51,7 +51,7 @@ install_source()
 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
 source ${INSTALL_WORK}/${SHRC}
 
-check_jb tar xfz ${SOURCE_DIR}/SIMANsourcesV${VERSION_SIMAN}.tar.gz -C ${INST_ROOT}
+check_jb tar xfz ${SRC_DIR}/SIMANsourcesV${VERSION_SIMAN}.tar.gz -C ${INST_ROOT}
 
 # to generate environment scripts
 try_preinstalled
@@ -59,26 +59,12 @@ try_preinstalled
 
 install_source_and_build()
 {
-# install sources
 install_source
-
-# remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} = "TRUE" ] ; then
-    test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
-fi
-
-# to generate environment scripts
-try_preinstalled
 }
 
 install_binary()
 {
-echo "It's impossible to install ${PRODUCT} from binaries"
-
-# to generate environment scripts
-try_preinstalled
-
-return 1
+install_source
 }
 
 source ./common.sh