summaryrefslogtreecommitdiff
path: root/scripts/pull-and-verify.sh
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2017-02-09 12:53:25 +0100
committerFredrik Domeij <fredrik.domeij@umu.se>2017-02-09 12:53:25 +0100
commitdaa03ea2c947b34b9d5e39347e879f3f7d322f86 (patch)
treebfc92f7438a35a8cd0866c004215191942cf6fb5 /scripts/pull-and-verify.sh
parent9c867edb7768db3b7b7edb02e5e736269ad50322 (diff)
wget replaced by curl to cope with macos
Diffstat (limited to 'scripts/pull-and-verify.sh')
-rwxr-xr-xscripts/pull-and-verify.sh2
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