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

Use dirname $0 to get the path

This commit is contained in:
Balachandran Sivakumar 2015-10-07 23:14:24 +05:30
parent 483e69e410
commit 0482e0fcae

View file

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