Ignore SM site certificate when downloading GeoIP

Build servers don't have a root for it, and the address is internal
This commit is contained in:
Asher Baker 2019-01-19 12:34:23 +00:00 committed by GitHub
parent 590f71436f
commit c501c837d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,8 @@ if (-e '../GeoIP.dat.gz')
if ($needNewGeoIP)
{
print "Downloading GeoIP.dat...\n";
system('wget -q -O ../GeoIP.dat.gz https://sm.alliedmods.net/GeoIP.dat.gz');
# Don't check certificate. It will fail on the slaves and we're resolving to internal addressing anyway
system('wget --no-check-certificate -q -O ../GeoIP.dat.gz https://sm.alliedmods.net/GeoIP.dat.gz');
}
else
{