Use cURL insecurely when downloading

This fixes an error caused by the expired certificate on ci.mcadmin.net.
This commit is contained in:
Jack Wilsdon 2017-05-12 21:10:57 +01:00
parent d86f034e96
commit 7bb397a031

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)"