1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00

Initialise KOBALT_HOME to current dir if it is not set

There can be a case where the KOBALT_HOME is not set. In that case
retain the current behaviour of looking into the current dir.
This commit is contained in:
Balachandran Sivakumar 2015-10-07 15:27:34 +05:30
parent e49a40f43a
commit 483e69e410

View file

@ -1,2 +1,5 @@
if [ -z $KOBALT_HOME ]; then
KOBALT_HOME="."
fi
java -jar $KOBALT_HOME/kobalt/wrapper/kobalt-wrapper.jar $*