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