fix: corrected versionLessThan for versions with dashes

#1132
This commit is contained in:
Geoff Bourne
2021-11-24 15:52:22 -06:00
parent 66ead9128a
commit ff4d46d509

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"