Merge pull request #35 from barabo/patch-1
Follow 302 redirects with curl
This commit is contained in:
@@ -58,7 +58,7 @@ fi
|
|||||||
if [[ "$FORCE" == true ]] || [[ "$response" =~ ^([yY])$ ]]; then
|
if [[ "$FORCE" == true ]] || [[ "$response" =~ ^([yY])$ ]]; then
|
||||||
echo "Downloading most recent publisher to $jarlocationname - it's ~100 MB, so this may take a bit"
|
echo "Downloading most recent publisher to $jarlocationname - it's ~100 MB, so this may take a bit"
|
||||||
# wget "https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar" -O "$jarlocation"
|
# wget "https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar" -O "$jarlocation"
|
||||||
curl $dlurl -o "$jarlocation" --create-dirs
|
curl -L $dlurl -o "$jarlocation" --create-dirs
|
||||||
else
|
else
|
||||||
echo cancel...
|
echo cancel...
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user