diff --git a/scripts/codesign_example.sh b/scripts/codesign_example.sh index b7a93badc..24badd2be 100755 --- a/scripts/codesign_example.sh +++ b/scripts/codesign_example.sh @@ -157,5 +157,9 @@ signed_checksum=$( ) echo "${signed_checksum} signed_${SN_ID}.zip" | $SHASUM_PROG -c +if [ $? -ne 0 ] +then + exit 1 +fi mv "signed_${SN_ID}.zip" "$TARGET_ZIP"