Exit on failure

This commit is contained in:
Bob Mottram 2018-03-02 20:26:40 +00:00
parent c08e56d3cd
commit b654a47059
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ function install_cryptopp {
if [ -d "$INSTALL_DIR/cryptopp" ]; then if [ -d "$INSTALL_DIR/cryptopp" ]; then
if ! grep -q "Crypto++ commit:$CRYPTOPP_COMMIT" "$COMPLETION_FILE"; then if ! grep -q "Crypto++ commit:$CRYPTOPP_COMMIT" "$COMPLETION_FILE"; then
set_repo_commit "$INSTALL_DIR/cryptopp" "Crypto++ commit" "$CRYPTOPP_COMMIT" "$CRYPTOPP_REPO" set_repo_commit "$INSTALL_DIR/cryptopp" "Crypto++ commit" "$CRYPTOPP_COMMIT" "$CRYPTOPP_REPO"
cd $INSTALL_DIR/cryptopp/build cd "$INSTALL_DIR/cryptopp/build" || exit 27482468
cmake .. cmake ..
if ! make; then if ! make; then
exit 72581 exit 72581