Update guac-upgrade.sh

Fixed spaces on VERSION line
Appended '|rtrimstr("/")' to '.preferred' to remove trailing "/"
This commit is contained in:
Kevin Barroga 2017-03-10 11:13:26 -10:00 committed by GitHub
parent e4198c279f
commit d2696b552a
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
VERSION = "0.9.11"
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred')
VERSION="0.9.11"
SERVER=$(curl -s 'https://www.apache.org/dyn/closer.cgi?as_json=1' | jq --raw-output '.preferred|rtrimstr("/")')
# Stop Tomcat
service tomcat8 stop