summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-01-16 00:24:00 (GMT)
committerBrad King <brad.king@kitware.com>2003-01-16 00:24:00 (GMT)
commit424a56c6f7ea3401a70dc21cc09fd97b710f1d35 (patch)
tree0473cb6ede927a7987bcaf4baa5fbb3829a9a288
parent20a742ba51910dd18f125aad859259912859e0b6 (diff)
downloadCMake-424a56c6f7ea3401a70dc21cc09fd97b710f1d35.zip
CMake-424a56c6f7ea3401a70dc21cc09fd97b710f1d35.tar.gz
CMake-424a56c6f7ea3401a70dc21cc09fd97b710f1d35.tar.bz2
BUG: error_log function should return 1 to stop execution of rest of script.
-rwxr-xr-xUtilities/Release/cmake_release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh
index e3e02c2..17b6381 100755
--- a/Utilities/Release/cmake_release.sh
+++ b/Utilities/Release/cmake_release.sh
@@ -48,7 +48,8 @@ usage()
error_log()
{
echo "An error has been logged to $1:" &&
- cat "$1"
+ cat "$1" &&
+ return 1
}
#-----------------------------------------------------------------------------