diff --git a/windows/build/build.sh b/windows/build/build.sh index 67c52e444..5714e2d6b 100755 --- a/windows/build/build.sh +++ b/windows/build/build.sh @@ -20,6 +20,7 @@ while [[ "$#" -gt 0 ]]; do shift 2 ;; -t|--target) + targets=() shift while [[ "$1" && ! "$1" =~ ^- ]]; do targets+=("$1")