mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-30 16:10:44 +08:00
Merge branch 'gethdf4.dmh' of https://github.com/Unidata/netcdf-c into gethdf4.dmh
This commit is contained in:
commit
dab4a21656
@ -14,7 +14,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
|
||||
# Get a file from the ftp site; retry several times
|
||||
getfile() {
|
||||
FTPFILE="ftp://ftp.unidata.ucar.edu/pub/netcdf/sample_data/hdf4/$1.gz"
|
||||
for try in 1 2 3 ; do # try 3 times
|
||||
for try in 1 2 3 4 ; do # try 4 times
|
||||
# signal sucess/failure
|
||||
if wget -c $Q --passive-ftp $FTPFILE ; then
|
||||
return 0 # got it
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
if test "x$SETX" = x1 ; then set -x ; fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user