Merge pull request #150 from jackwilsdon/curl-insecure

Use cURL insecurely when downloading
This commit is contained in:
Geoff Bourne
2017-05-12 17:14:50 -05:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ function downloadSpigot {
fi
echo "Downloading $match"
curl -fsSL -o $SERVER "$downloadUrl"
curl -kfsSL -o $SERVER "$downloadUrl"
status=$?
if [ ! -f $SERVER ]; then
echo "ERROR: failed to download from $downloadUrl (status=$status)"