fix: corrected versionLessThan for versions with dashes

#1132
This commit is contained in:
Geoff Bourne committed 2021-11-24 15:52:36 -06:00
1 parent 66ead9128a
commit ff4d46d509
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ function normalizeMemSize() {
function versionLessThan() {
local activeParts
IFS=. read -ra activeParts <<<"${VANILLA_VERSION}"
IFS=. read -ra activeParts <<<"${VANILLA_VERSION%%-*}"
local givenParts
IFS=. read -ra givenParts <<<"$1"