mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-10 18:41:02 +00:00
1 parent
9098b198c3
commit
6c636c3d9c
1 file changed
+3
-1
+3
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user