Fixed incorrect boolean check in _updatePublisher.sh
Corrected call to java to allow for running on systems with case-sensitive file-systems.
This commit is contained in:
parent
9aff1c0937
commit
d7aa4fa7ca
@ -16,12 +16,12 @@ echo "$txoption"
|
||||
|
||||
publisher=$input_cache_path/$publisher_jar
|
||||
if test -f "$publisher"; then
|
||||
JAVA -jar $publisher -ig ig.ini $txoption $*
|
||||
java -jar $publisher -ig ig.ini $txoption $*
|
||||
|
||||
else
|
||||
publisher=../$publisher_jar
|
||||
if test -f "$publisher"; then
|
||||
JAVA -jar $publisher -ig ig.ini $txoption $*
|
||||
java -jar $publisher -ig ig.ini $txoption $*
|
||||
else
|
||||
echo IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
|
||||
fi
|
||||
|
||||
@ -55,7 +55,7 @@ if [[ "$FORCE" != true ]]; then
|
||||
read -r -p "$message" response
|
||||
fi
|
||||
|
||||
if [[ "$FORCE" ]] || [[ "$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"
|
||||
# wget "https://fhir.github.io/latest-ig-publisher/org.hl7.fhir.publisher.jar" -O "$jarlocation"
|
||||
curl $dlurl -o "$jarlocation" --create-dirs
|
||||
|
||||
Loading…
Reference in New Issue
Block a user