fix: syntax error for compare text in shell script

This commit is contained in:
鲁树人 2022-11-26 20:21:43 +00:00
parent 117a916374
commit e80369703d

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