mc: support snapshot versions with spaces, such as "1.14 Pre-Release 1"

This commit is contained in:
Geoff Bourne 2019-04-11 19:50:29 -05:00
parent 40a26b8caf
commit b29e76b128

View file

@ -3,7 +3,7 @@
. /start-utils
set -o pipefail
export SERVER="minecraft_server.$VANILLA_VERSION.jar"
export SERVER="minecraft_server.${VANILLA_VERSION// /_}.jar"
if [ ! -e $SERVER ]; then
echo "Downloading $SERVER ..."