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

Fix for GYGWIN

This commit is contained in:
Erik C. Thauvin 2017-03-23 11:08:52 -07:00
parent 720e32aa07
commit cf4013af89

7
dist/kobaltw vendored
View file

@ -1,2 +1,7 @@
#!/usr/bin/env sh
java -jar "`dirname "$(readlink -f "$0")"`/../kobalt/wrapper/kobalt-wrapper.jar" $*
DIRNAME=`dirname $(readlink -f "$0")`
if [[ "$(uname)" == "CYGWIN"* ]]; then
DIRNAME=`cygpath -d "$DIRNAME"`
fi
java -jar "${DIRNAME}/../kobalt/wrapper/kobalt-wrapper.jar" $*