From 1f04ca946cead3526a619d64427ad062de225529 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 14 Apr 2018 13:43:25 -0500 Subject: [PATCH] mc: fixed local var usage in deployPaper fixes #209 --- minecraft-server/start-deployPaper | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/minecraft-server/start-deployPaper b/minecraft-server/start-deployPaper index 9d1300a3..16564a9b 100755 --- a/minecraft-server/start-deployPaper +++ b/minecraft-server/start-deployPaper @@ -2,7 +2,6 @@ export SERVER=paper_server.jar if [ ! -f $SERVER ]; then - local build case "$VERSION" in latest|LATEST|1.10) build="lastSuccessfulBuild";; @@ -19,7 +18,7 @@ if [ ! -f $SERVER ]; then esac if [ $build != "nosupp" ]; then - rm $SERVER + rm -f $SERVER downloadUrl=${PAPER_DOWNLOAD_URL:-https://ci.destroystokyo.com/job/PaperSpigot/$build/artifact/paperclip.jar} curl -fsSL -o $SERVER "$downloadUrl" if [ ! -f $SERVER ]; then