]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Modification to keep Cascade sources for patching after building if 'Remove sources...
authormaintenance team <salome-mnt@opencascade.com>
Thu, 27 Nov 2008 13:59:28 +0000 (13:59 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Thu, 27 Nov 2008 13:59:28 +0000 (13:59 +0000)
config_files/CAS-6.3.sh

index 311afe53f35e0e0e4e83d574c07067ebc834aa4b..f978bd77fda088f0ac8be2c88a06086d847008b7 100755 (executable)
@@ -185,7 +185,8 @@ fi
 cd ${PRODUCT_DIR};
 
 # remove sources and temporary files after building
-if [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
+echo "${INSTALL_PRODUCTS}" | grep -q "PatchForOpenCascade"
+if [ $? -eq 1 ] && [ ${REMOVE_SRC_TMP} == "TRUE" ] ; then
     test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR}
 fi