Merge pull request #40 from costateixeira/master
Remove hardcoded ig ini filename
This commit is contained in:
@@ -17,9 +17,9 @@ SET txoption=
|
|||||||
SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
|
SET JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
|
||||||
|
|
||||||
IF EXIST "%input_cache_path%\%publisher_jar%" (
|
IF EXIST "%input_cache_path%\%publisher_jar%" (
|
||||||
JAVA -jar "%input_cache_path%\%publisher_jar%" -ig ig.ini %txoption% %*
|
JAVA -jar "%input_cache_path%\%publisher_jar%" -ig . %txoption% %*
|
||||||
) ELSE If exist "..\%publisher_jar%" (
|
) ELSE If exist "..\%publisher_jar%" (
|
||||||
JAVA -jar "..\%publisher_jar%" -ig ig.ini %txoption% %*
|
JAVA -jar "..\%publisher_jar%" -ig . %txoption% %*
|
||||||
) ELSE (
|
) ELSE (
|
||||||
ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
|
ECHO IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ echo "$txoption"
|
|||||||
|
|
||||||
publisher=$input_cache_path/$publisher_jar
|
publisher=$input_cache_path/$publisher_jar
|
||||||
if test -f "$publisher"; then
|
if test -f "$publisher"; then
|
||||||
java -jar $publisher -ig ig.ini $txoption $*
|
java -jar $publisher -ig . $txoption $*
|
||||||
|
|
||||||
else
|
else
|
||||||
publisher=../$publisher_jar
|
publisher=../$publisher_jar
|
||||||
if test -f "$publisher"; then
|
if test -f "$publisher"; then
|
||||||
java -jar $publisher -ig ig.ini $txoption $*
|
java -jar $publisher -ig . $txoption $*
|
||||||
else
|
else
|
||||||
echo IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
|
echo IG Publisher NOT FOUND in input-cache or parent folder. Please run _updatePublisher. Aborting...
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user