diff options
author | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-02-09 12:53:25 +0100 |
---|---|---|
committer | Fredrik Domeij <fredrik.domeij@umu.se> | 2017-02-09 12:53:25 +0100 |
commit | daa03ea2c947b34b9d5e39347e879f3f7d322f86 (patch) | |
tree | bfc92f7438a35a8cd0866c004215191942cf6fb5 /scripts | |
parent | 9c867edb7768db3b7b7edb02e5e736269ad50322 (diff) |
wget replaced by curl to cope with macos
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/pull-and-verify.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pull-and-verify.sh b/scripts/pull-and-verify.sh index c375f503..1e467010 100755 --- a/scripts/pull-and-verify.sh +++ b/scripts/pull-and-verify.sh @@ -16,7 +16,7 @@ else fi TMPF=`mktemp` -wget -q --timeout 120 --no-check-certificate -O$TMPF $URL || die "Unable to download $URL: $?" +curl -s -m 120 -k -L $URL > $TMPF || die "Unable to download $URL: $?" if [ "x$CERT" != "x" ]; then samlsign -c $CERT -f $TMPF || die "Unable to verify $URL with $CERT: $?" fi |