mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
parent
9098b198c3
commit
6c636c3d9c
@ -113,7 +113,9 @@ function normalizeMemSize() {
|
||||
|
||||
function versionLessThan() {
|
||||
local activeParts
|
||||
IFS=. read -ra activeParts <<<"${VANILLA_VERSION%%-*}"
|
||||
version=${VANILLA_VERSION%%-*} # for snapshot/rc versions
|
||||
version=${version##b} # for versions like b1.7.3
|
||||
IFS=. read -ra activeParts <<<"${version}"
|
||||
|
||||
local givenParts
|
||||
IFS=. read -ra givenParts <<<"$1"
|
||||
|
Loading…
Reference in New Issue
Block a user