From: maintenance team Date: Thu, 27 Nov 2008 13:59:28 +0000 (+0000) Subject: Modification to keep Cascade sources for patching after building if 'Remove sources... X-Git-Tag: V4_1_4~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d141f457953ad560abb4e4062f51753ce11fa6fc;p=tools%2Finstall.git Modification to keep Cascade sources for patching after building if 'Remove sources' checkbox was checked by user. --- diff --git a/config_files/CAS-6.3.sh b/config_files/CAS-6.3.sh index 311afe5..f978bd7 100755 --- a/config_files/CAS-6.3.sh +++ b/config_files/CAS-6.3.sh @@ -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