fix: fixed syntax error

This commit is contained in:
ttionya
2021-02-28 00:28:14 +08:00
parent 64d7625cbf
commit bcccca5b17
+1 -1
View File
@@ -127,7 +127,7 @@ function init_env() {
# ZIP_TYPE
ZIP_TYPE=$(echo "${ZIP_TYPE}" | tr '[A-Z]' '[a-z]')
if [[ "${ZIP_TYPE}" == "7z" ]; then
if [[ "${ZIP_TYPE}" == "7z" ]]; then
ZIP_TYPE="7z"
else
ZIP_TYPE="zip"