From b2815eb33c8513bd313f93d572ded29fea89a38a Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 7 May 2022 05:50:14 -0400 Subject: [PATCH] improving scripts? --- firmware/config/boards/common_make.sh | 2 +- misc/jenkins/compile_other_versions/compile.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/config/boards/common_make.sh b/firmware/config/boards/common_make.sh index be367b0ca6..0c30adce85 100644 --- a/firmware/config/boards/common_make.sh +++ b/firmware/config/boards/common_make.sh @@ -14,7 +14,7 @@ make -j$(nproc) -r PROJECT_BOARD=$PROJECT_BOARD PROJECT_CPU=$PROJECT_CPU [ -e build/rusefi.hex ] || { echo "FAILED to compile by $SCRIPT_NAME with $PROJECT_BOARD $DEBUG_LEVEL_OPT and $EXTRA_PARAMS"; exit 1; } if [ $USE_OPENBLT = "yes" ]; then make openblt - [ -e build-openblt/openblt_$PROJECT_BOARD.hex ] || { echo "FAILED to compile OpneBLT by $SCRIPT_NAME with $PROJECT_BOARD"; exit 1; } + [ -e build-openblt/openblt_$PROJECT_BOARD.hex ] || { echo "FAILED to compile OpenBLT by $SCRIPT_NAME with $PROJECT_BOARD"; exit 1; } fi if uname | grep "NT"; then diff --git a/misc/jenkins/compile_other_versions/compile.sh b/misc/jenkins/compile_other_versions/compile.sh index 943d525f82..880b9c4aaf 100644 --- a/misc/jenkins/compile_other_versions/compile.sh +++ b/misc/jenkins/compile_other_versions/compile.sh @@ -31,6 +31,7 @@ pwd echo "Invoking $COMPILE_SCRIPT" bash $COMPILE_SCRIPT +[ $? -eq 0 ] || { echo "ERROR invoking $COMPILE_SCRIPT"; exit 1; } echo "We are in" pwd