Merge pull request #24 from costateixeira/self-updating-scripts
cosmetic fix (fixed one information message and added some blank lines)
This commit is contained in:
commit
441a6597fc
@ -17,6 +17,7 @@ set update_sh_url=https://raw.githubusercontent.com/FHIR/sample-ig/master/_updat
|
|||||||
IF "%~1"=="/f" SET skipPrompts=true
|
IF "%~1"=="/f" SET skipPrompts=true
|
||||||
|
|
||||||
|
|
||||||
|
ECHO.
|
||||||
ECHO Checking internet connection...
|
ECHO Checking internet connection...
|
||||||
PING tx.fhir.org -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
|
PING tx.fhir.org -n 1 -w 1000 | FINDSTR TTL && GOTO isonline
|
||||||
ECHO We're offline, nothing to do...
|
ECHO We're offline, nothing to do...
|
||||||
@ -37,6 +38,7 @@ IF DEFINED ARG (
|
|||||||
|
|
||||||
FOR %%x IN ("%CD%") DO SET upper_path=%%~dpx
|
FOR %%x IN ("%CD%") DO SET upper_path=%%~dpx
|
||||||
|
|
||||||
|
ECHO.
|
||||||
IF NOT EXIST "%input_cache_path%%publisher_jar%" (
|
IF NOT EXIST "%input_cache_path%%publisher_jar%" (
|
||||||
IF NOT EXIST "%upper_path%%publisher_jar%" (
|
IF NOT EXIST "%upper_path%%publisher_jar%" (
|
||||||
SET jarlocation="%input_cache_path%%publisher_jar%"
|
SET jarlocation="%input_cache_path%%publisher_jar%"
|
||||||
@ -128,7 +130,8 @@ GOTO done
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ECHO Will place publisher jar here: %input_cache_path%%publisher_jar%
|
ECHO.
|
||||||
|
ECHO Updating scripts
|
||||||
IF "%skipPrompts%"=="true" (
|
IF "%skipPrompts%"=="true" (
|
||||||
SET updateScripts="Y"
|
SET updateScripts="Y"
|
||||||
) ELSE (
|
) ELSE (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user