diff options
author | Brad King <brad.king@kitware.com> | 2003-01-16 00:24:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-01-16 00:24:00 (GMT) |
commit | 424a56c6f7ea3401a70dc21cc09fd97b710f1d35 (patch) | |
tree | 0473cb6ede927a7987bcaf4baa5fbb3829a9a288 | |
parent | 20a742ba51910dd18f125aad859259912859e0b6 (diff) | |
download | CMake-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-x | Utilities/Release/cmake_release.sh | 3 |
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 } #----------------------------------------------------------------------------- |