Merge pull request #35 from barabo/patch-1

Follow 302 redirects with curl
This commit is contained in:
Lloyd McKenzie 2020-07-01 15:35:02 -06:00 committed by GitHub
commit 066cae477f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ fi
if [[ "$FORCE" == true ]] || [[ "$response" =~ ^([yY])$ ]]; then
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"
curl $dlurl -o "$jarlocation" --create-dirs
curl -L $dlurl -o "$jarlocation" --create-dirs
else
echo cancel...
fi