1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Merge pull request #288 from ethauvin/master

Fixed kobaltw for TravisCI
This commit is contained in:
Cedric Beust 2016-07-20 13:15:52 -07:00 committed by GitHub
commit e24d9cea76
3 changed files with 2 additions and 3 deletions

2
dist/kobaltw vendored
View file

@ -1,2 +1,2 @@
#!/usr/bin/env sh
java -jar $(dirname $0)/../kobalt/wrapper/kobalt-wrapper.jar $*
java -jar "`dirname "$0"`/../kobalt/wrapper/kobalt-wrapper.jar" $*

View file

@ -1,2 +1 @@
#!/usr/bin/env sh
java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*

View file

@ -285,7 +285,7 @@ public class Main {
}
String content = "#!" + envPath + " sh\n"
+ "java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*\n";
+ "java -jar \"`dirname \"$0\"`/kobalt/wrapper/kobalt-wrapper.jar\" $*\n";
log(2, " Generating " + KOBALTW + " with shebang.");