mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 07:57:12 -07:00
11 lines
No EOL
343 B
Bash
Executable file
11 lines
No EOL
343 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
case "$(uname)" in
|
|
CYGWIN*) DIRNAME=$(cygpath -d "$(dirname "$(readlink -f "$0")")");;
|
|
Darwin*) DIRNAME=$(dirname "$(readlink "$0")");;
|
|
*) DIRNAME=$(dirname "$(readlink -f "$0")");;
|
|
esac
|
|
if [ "$DIRNAME" = "." ]; then
|
|
DIRNAME="$(dirname "$0")"
|
|
fi
|
|
java -jar "${DIRNAME}/../kobalt/wrapper/kobalt-wrapper.jar" $* |