From d141f457953ad560abb4e4062f51753ce11fa6fc Mon Sep 17 00:00:00 2001 From: maintenance team Date: Thu, 27 Nov 2008 13:59:28 +0000 Subject: [PATCH] Modification to keep Cascade sources for patching after building if 'Remove sources' checkbox was checked by user. --- config_files/CAS-6.3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2