feat: Remove leading and trailing spaces from VERSION (#1392)
This commit is contained in:
1 parent
1ebb4c8d58
commit
1c15df95ac
1 file changed
+1
@@ -24,6 +24,7 @@ parseVersion() {
|
|||||||
VERSION="${VERSION:1:-1}"
|
VERSION="${VERSION:1:-1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
VERSION=`expr "$VERSION" : "^\ *\(.*[^ ]\)\ *$"`
|
||||||
[ -z "$VERSION" ] && VERSION="win11"
|
[ -z "$VERSION" ] && VERSION="win11"
|
||||||
|
|
||||||
case "${VERSION,,}" in
|
case "${VERSION,,}" in
|
||||||
|
|||||||
Reference in new issue
Block a user