From 483e69e410b7ee728a23bdcd1fd025c6c7b918ea Mon Sep 17 00:00:00 2001 From: Balachandran Sivakumar Date: Wed, 7 Oct 2015 15:27:34 +0530 Subject: [PATCH] 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. --- kobaltw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kobaltw b/kobaltw index 4ce0a3c0..9726da2a 100755 --- a/kobaltw +++ b/kobaltw @@ -1,2 +1,5 @@ +if [ -z $KOBALT_HOME ]; then + KOBALT_HOME="." +fi java -jar $KOBALT_HOME/kobalt/wrapper/kobalt-wrapper.jar $*