summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-17 11:55:00 -0500
committerBrad King <brad.king@kitware.com>2003-01-17 11:55:00 -0500
commit620ca403a2e6aa5e849da7c16ddc6a055c0b093e (patch)
treec3520bad3f7d31062bc567d80b3a6841d8947cf3
parentf95b86b0e7b14fd418cc58691e89bc6627657aa6 (diff)
downloadcmake-620ca403a2e6aa5e849da7c16ddc6a055c0b093e.tar.gz
ENH: clean now removes the entire release root directory.
-rwxr-xr-xUtilities/Release/cmake_release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh
index 0747c8a49b..813f9276a3 100755
--- a/Utilities/Release/cmake_release.sh
+++ b/Utilities/Release/cmake_release.sh
@@ -138,9 +138,9 @@ setup()
#-----------------------------------------------------------------------------
clean()
{
- setup || return 1
+ cd "${HOME}" &&
echo "Cleaning up ${RELEASE_ROOT}" &&
- rm -rf *
+ rm -rf "${RELEASE_ROOT_NAME}"
}
#-----------------------------------------------------------------------------