Browse Source

fix: Shellcheck warning (#1393)

Kroese 4 months ago
parent
commit
05330ff64c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/define.sh

+ 1 - 1
src/define.sh

@@ -24,7 +24,7 @@ parseVersion() {
     VERSION="${VERSION:1:-1}"
   fi
   
-  VERSION=`expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$"`
+  VERSION=$(expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$")
   [ -z "$VERSION" ] && VERSION="win11"
 
   case "${VERSION,,}" in