aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-10-14 02:02:47 +0000
committereschnett <eschnett@fb53df36-e548-4a1e-8150-ab98cbd5e786>2010-10-14 02:02:47 +0000
commit485c0631960c3434973ae3c4f5c2d40bb2bbba40 (patch)
tree5a26ea479fed938328064066b269842777757cb3
parente88da07f16d244e5e3cd3b574e733bf56043170c (diff)
Remove build directory after building
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/HDF5/trunk@22 fb53df36-e548-4a1e-8150-ab98cbd5e786
-rw-r--r--HDF5.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/HDF5.sh b/HDF5.sh
index 6602ac5..77c2fb4 100644
--- a/HDF5.sh
+++ b/HDF5.sh
@@ -117,11 +117,11 @@ if [ -z "${HDF5_DIR}" -o "${HDF5_DIR}" = 'BUILD' ]; then
echo "HDF5: Installing..."
${MAKE} install
-
-# echo "HDF5: Cleaning up..."
-# ${MAKE} clean
popd
+ echo "HDF5: Cleaning up..."
+ rm -rf ${BUILD_DIR}
+
date > ${DONE_FILE}
echo "HDF5: Done."
fi