Use curl instead of wget to get hdf4 files when --enable-hdf4-tests specified

This commit is contained in:
Russ Rew 2014-07-20 17:14:17 -06:00
parent c47d2ab9b7
commit a71e1acb67

View File

@ -14,7 +14,7 @@ echo "Getting HDF4 test files $file_list"
for f1 in $file_list
do
if ! test -f $f1; then
wget ftp://ftp.unidata.ucar.edu/pub/netcdf/sample_data/hdf4/$f1.gz
curl -O "ftp://ftp.unidata.ucar.edu/pub/netcdf/sample_data/hdf4/$f1.gz"
gunzip $f1.gz
fi
done