From 3c79a1f6e2875a4cb450a9c1d8d157c5091a8a33 Mon Sep 17 00:00:00 2001 From: Jixun Date: Sat, 26 Nov 2022 20:21:43 +0000 Subject: [PATCH] fix: syntax error for compare text in shell script --- scripts/build-and-package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-and-package.sh b/scripts/build-and-package.sh index 72c16e7..5d8c6d7 100755 --- a/scripts/build-and-package.sh +++ b/scripts/build-and-package.sh @@ -21,7 +21,7 @@ esac mv dist "${DIST_NAME}" zip -rJ9 "${DIST_NAME}.zip" "${DIST_NAME}" -if [ "$1" == "legacy" ]; then +if [ "$1" = "legacy" ]; then # For upcoming extension build mv "${DIST_NAME}" dist else