summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-17 16:55:00 (GMT)
committerBrad King <brad.king@kitware.com>2003-01-17 16:55:00 (GMT)
commit620ca403a2e6aa5e849da7c16ddc6a055c0b093e (patch)
treec3520bad3f7d31062bc567d80b3a6841d8947cf3 /Utilities
parentf95b86b0e7b14fd418cc58691e89bc6627657aa6 (diff)
downloadCMake-620ca403a2e6aa5e849da7c16ddc6a055c0b093e.zip
CMake-620ca403a2e6aa5e849da7c16ddc6a055c0b093e.tar.gz
CMake-620ca403a2e6aa5e849da7c16ddc6a055c0b093e.tar.bz2
ENH: clean now removes the entire release root directory.
Diffstat (limited to 'Utilities')
-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 0747c8a..813f927 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}"
}
#-----------------------------------------------------------------------------