summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-05 14:30:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-05 14:30:26 (GMT)
commit1a7a6ccc34c36891043c7380c60ca86618a68bad (patch)
tree5f34eeed76b7c20ff4e26cf49afd544a813bc293 /Utilities/Release/release_cmake.sh.in
parent523d9ebeed37fe256afb292de2f20f093eb873d1 (diff)
downloadCMake-1a7a6ccc34c36891043c7380c60ca86618a68bad.zip
CMake-1a7a6ccc34c36891043c7380c60ca86618a68bad.tar.gz
CMake-1a7a6ccc34c36891043c7380c60ca86618a68bad.tar.bz2
ENH: create script is working
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index ac8ec00..3b55bb7 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -6,13 +6,13 @@ mkdir ~/CMakeReleaseDirectory
check_exit_value()
{
VALUE="$1"
- if [ "$VALUE" != "0" ]; then
+ if [ "$VALUE" != "0" ]\; then
echo "error in $2"
exit 1
fi
}
-if [ ! -z "@USER_MAKE_RULE_FILE_CONTENTS@" ]; then
+if [ ! -z "@USER_MAKE_RULE_FILE_CONTENTS@" ]\; then
echo "@USER_MAKE_RULE_FILE_CONTENTS@" > "@USER_MAKE_RULE_FILE@"
check_exit_value $? "Create User Rule file" || exit 1
fi
@@ -22,7 +22,7 @@ check_exit_value $? "Remove build tree" || exit 1
mkdir ~/CMakeReleaseDirectory/@CMAKE_VERSION@-build
check_exit_value $? "Create build directory" || exit 1
# make sure directory was created
-if [ ! -d ~/CMakeReleaseDirectory/@CMAKE_VERSION@-build ]; then
+if [ ! -d ~/CMakeReleaseDirectory/@CMAKE_VERSION@-build ]\; then
echo "Could not create ~/CMakeReleaseDirectory/@CMAKE_VERSION@-build"
exit -1
fi