From c06f46b29636022dedf38ea3ab2b5c52f61b09ca Mon Sep 17 00:00:00 2001 From: UsiFX Date: Sun, 2 Oct 2022 17:49:52 +0200 Subject: [PATCH] brace up signing statment Signed-off-by: UsiFX --- smmt_builder.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smmt_builder.sh b/smmt_builder.sh index 384f571..9949401 100755 --- a/smmt_builder.sh +++ b/smmt_builder.sh @@ -3,6 +3,7 @@ # shellcheck disable=SC2145 # shellcheck disable=SC2181 # shellcheck disable=SC2015 +# shellcheck disable=SC2157 # # Simple nitronD simpleMMT Builder # @@ -64,7 +65,7 @@ do compile ;; "--sign") - "$OUT/target/$FILENAME.zip" && { + [[ "$OUT/target/$FILENAME.zip" ]] && { java -jar "$(pwd)/etc/zipsigner/zipsigner-3.0.jar" "$OUT/target/$FILENAME.zip" "$OUT/target/$FILENAME-signed-OFFICIAL.zip" echo " SIGN $OUT/target/$FILENAME-signed-OFFICIAL.zip" exit $?