1
0
قرینه از https://github.com/dockur/windows.git synced 2026-06-10 11:59:33 +08:00

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

This commit is contained in:
Kroese
2026-05-13 08:28:18 +02:00
کامیت شده توسط GitHub
والد 8f1335d7f8
کامیت 85bacbec63
+1 -1
مشاهده پرونده
@@ -24,7 +24,7 @@ parseVersion() {
VERSION="${VERSION:1:-1}" VERSION="${VERSION:1:-1}"
fi fi
VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$") [ -n "$VERSION" ] && VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
[ -z "$VERSION" ] && VERSION="win11" [ -z "$VERSION" ] && VERSION="win11"
case "${VERSION,,}" in case "${VERSION,,}" in