mirror of
https://github.com/dockur/windows.git
synced 2026-05-16 18:27:49 +01:00
fix: Check if VERSION variable is empty (#1718)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user