diff --git a/_updatePublisher.sh b/_updatePublisher.sh index 2e3f07b..55d2c0a 100755 --- a/_updatePublisher.sh +++ b/_updatePublisher.sh @@ -1,9 +1,9 @@ #!/bin/bash set -e -if ! type "wget" > /dev/null; then - echo "ERROR: Script needs wget to download latest IG Publisher. Please install wget." +if ! type "curl" > /dev/null; then + echo "ERROR: Script needs curl to download latest IG Publisher. Please install curl." exit 1 fi echo "Downloading most recent publisher - it's ~100 MB, so this may take a bit" -wget https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar -O input-cache/org.hl7.fhir.publisher.jar +curl https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar -o input-cache/org.hl7.fhir.publisher.jar --create-dirs echo "Done"