From 8e1f70865eeacfee21fdd043775207e2ec417140 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 28 Aug 2015 12:40:40 +0200 Subject: [PATCH] Use curl instead of http in update script. --- update_depdendencies.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update_depdendencies.sh b/update_depdendencies.sh index 3891d7d8a..aa2ede5fc 100755 --- a/update_depdendencies.sh +++ b/update_depdendencies.sh @@ -6,8 +6,8 @@ OSMIUM_TAG=v2.3.0 VARIANT_REPO=https://github.com/mapbox/variant.git VARIANT_TAG=v1.0 -VARIANT_LATEST=$(http --body https://api.github.com/repos/mapbox/variant/releases/latest | jq ".tag_name") -OSMIUM_LATEST=$(http --body https://api.github.com/repos/osmcode/libosmium/releases/latest | jq ".tag_name") +VARIANT_LATEST=$(curl https://api.github.com/repos/mapbox/variant/releases/latest | jq ".tag_name") +OSMIUM_LATEST=$(curl https://api.github.com/repos/osmcode/libosmium/releases/latest | jq ".tag_name") echo "Latest osmium release is $OSMIUM_LATEST, pulling in \"$OSMIUM_TAG\"" echo "Latest variant release is $VARIANT_LATEST, pulling in \"$VARIANT_TAG\""