Unverified Commit 85bacbec authored by Kroese's avatar Kroese Committed by GitHub
Browse files

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

parent 8f1335d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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