From 1ba6598b9d5e940b16e15545a2c60f658f3d8188 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 9 Dec 2013 08:32:49 +0000 Subject: [PATCH] Remove build directories --- config_files/hdf5.sh | 1 + config_files/med.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/config_files/hdf5.sh b/config_files/hdf5.sh index 14895a9..1668280 100755 --- a/config_files/hdf5.sh +++ b/config_files/hdf5.sh @@ -134,6 +134,7 @@ fi # remove sources and temporary files after building if [ ${REMOVE_SRC_TMP} = "TRUE" ] ; then test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR} + test -d ${PRODUCT_BUILD_DIR} && rm -fr ${PRODUCT_BUILD_DIR} fi # to generate environment scripts diff --git a/config_files/med.sh b/config_files/med.sh index 3af7824..c05fd9b 100755 --- a/config_files/med.sh +++ b/config_files/med.sh @@ -126,6 +126,7 @@ fi # remove sources and temporary files after building if [ ${REMOVE_SRC_TMP} = "TRUE" ] ; then test -d ${PRODUCT_SRC_DIR} && rm -fr ${PRODUCT_SRC_DIR} + test -d ${PRODUCT_BUILD_DIR} && rm -fr ${PRODUCT_BUILD_DIR} fi # to generate environment scripts -- 2.39.2