Salome HOME
projects
/
tools
/
install.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b5fa3c
)
Modification to keep Cascade sources for patching after building if 'Remove sources...
author
maintenance team
<salome-mnt@opencascade.com>
Thu, 27 Nov 2008 13:59:28 +0000
(13:59 +0000)
committer
maintenance team
<salome-mnt@opencascade.com>
Thu, 27 Nov 2008 13:59:28 +0000
(13:59 +0000)
config_files/CAS-6.3.sh
patch
|
blob
|
history
diff --git
a/config_files/CAS-6.3.sh
b/config_files/CAS-6.3.sh
index 311afe53f35e0e0e4e83d574c07067ebc834aa4b..f978bd77fda088f0ac8be2c88a06086d847008b7 100755
(executable)
--- 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