fix: syntax error for compare text in shell script

This commit is contained in:
Jixun 2022-11-26 20:21:43 +00:00
parent e79728c687
commit 3c79a1f6e2

View File

@ -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