Merge pull request #12 from jafeltra/minor-script-updates
Minor updates to IG scripts
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
CALL _genonce.bat -watch
|
CALL ./_genonce.bat -watch
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
_genonce.sh -watch
|
./_genonce.sh -watch
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ publisher_jar=org.hl7.fhir.publisher.jar
|
|||||||
input_cache_path=./input-cache/
|
input_cache_path=./input-cache/
|
||||||
set -e
|
set -e
|
||||||
echo Checking internet connection...
|
echo Checking internet connection...
|
||||||
wget -q --spider tx.fhir.org
|
curl -sSf tx.fhir.org > /dev/null
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Online"
|
echo "Online"
|
||||||
|
|||||||
@@ -32,10 +32,10 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if "$upgrade"; then
|
if "$upgrade"; then
|
||||||
message="Overwrite $jarlocation?"
|
message="Overwrite $jarlocation? (Y/N) "
|
||||||
else
|
else
|
||||||
echo Will place publisher jar here: "$jarlocation"
|
echo Will place publisher jar here: "$jarlocation"
|
||||||
message="Ok?"
|
message="Ok? (Y/N) "
|
||||||
fi
|
fi
|
||||||
|
|
||||||
read -r -p "$message" response
|
read -r -p "$message" response
|
||||||
|
|||||||
Reference in New Issue
Block a user