[CI-SKIP] Remove debug echo statements from last

This commit is contained in:
Zach Brown 2018-10-16 20:41:07 -04:00
parent 1944b6bd54
commit 026ee580a3
No known key found for this signature in database
GPG key ID: CC9DA35FC5450B76

View file

@ -25,11 +25,8 @@ versionjson="$workdir/Minecraft/$minecraftversion/$minecraftversion.json"
if [ ! -f "$versionjson" ]; then if [ ! -f "$versionjson" ]; then
echo "Downloading $minecraftversion JSON Data" echo "Downloading $minecraftversion JSON Data"
verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g') verescaped=$(echo ${minecraftversion} | sed 's/\./\\./g')
echo $verescaped
verentry=$(curl -s "https://launchermeta.mojang.com/mc/game/version_manifest.json" | grep -oE "{\"id\": \"${verescaped}\".*?\.json") verentry=$(curl -s "https://launchermeta.mojang.com/mc/game/version_manifest.json" | grep -oE "{\"id\": \"${verescaped}\".*?\.json")
echo $verentry
jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json) jsonurl=$(echo $verentry | grep -oE https:\/\/.*?\.json)
echo $jsonurl
curl -o "$versionjson" "$jsonurl" curl -o "$versionjson" "$jsonurl"
echo "$versionjson - $jsonurl" echo "$versionjson - $jsonurl"
fi fi