Minor updates to IG scripts
- Update updatePublisher scripts to have more clear options for prompts. Add space after prompt for clarity. - Update genonce.sh script to not depend on wget. Instead use curl to check internet connection since it is used in updatePublisher. - Update gencontinuous scripts to reference relative genonce scripts.
This commit is contained in:
parent
3f4216ca24
commit
7a4e0b6b38
@ -1,2 +1,2 @@
|
||||
@ECHO OFF
|
||||
CALL _genonce.bat -watch
|
||||
CALL ./_genonce.bat -watch
|
||||
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
_genonce.sh -watch
|
||||
./_genonce.sh -watch
|
||||
|
||||
@ -3,7 +3,7 @@ publisher_jar=org.hl7.fhir.publisher.jar
|
||||
input_cache_path=./input-cache/
|
||||
set -e
|
||||
echo Checking internet connection...
|
||||
wget -q --spider tx.fhir.org
|
||||
curl -sSf tx.fhir.org > /dev/null
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Online"
|
||||
|
||||
@ -32,10 +32,10 @@ else
|
||||
fi
|
||||
|
||||
if "$upgrade"; then
|
||||
message="Overwrite $jarlocation?"
|
||||
message="Overwrite $jarlocation? (Y/N) "
|
||||
else
|
||||
echo Will place publisher jar here: "$jarlocation"
|
||||
message="Ok?"
|
||||
message="Ok? (Y/N) "
|
||||
fi
|
||||
|
||||
read -r -p "$message" response
|
||||
|
||||
Loading…
Reference in New Issue
Block a user