fix: Check if VERSION variable is empty (#1718)

This commit is contained in:
Kroese
2026-05-13 08:28:18 +02:00
committed by GitHub
parent 8f1335d7f8
commit 85bacbec63
+1 -1
View File
@@ -24,7 +24,7 @@ parseVersion() {
VERSION="${VERSION:1:-1}"
fi
VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
[ -n "$VERSION" ] && VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
[ -z "$VERSION" ] && VERSION="win11"
case "${VERSION,,}" in