diff --git a/compile.sh b/compile.sh index 4dbe7da..fc4d802 100755 --- a/compile.sh +++ b/compile.sh @@ -16,10 +16,10 @@ function is_truthy() { local value; value="$1"; - [ ! -z "$value" ] || - [ "$value" != "0" ] || - [ "$value" != "false" ] || - [ "$value" != "n" ] || + [ ! -z "$value" ] && + [ "$value" != "0" ] && + [ "$value" != "false" ] && + [ "$value" != "n" ] && [ "$value" != "no" ]; } @@ -217,6 +217,7 @@ then done; logFile="$(mktemp)"; + echo "NATIVE_WINDOWS: ${NATIVE_WINDOWS}"; if is_truthy "${NATIVE_WINDOWS}" then