mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Fixed kobaltw for TravisCI, also now handles directory names with space in them.
This commit is contained in:
parent
67a5a670e9
commit
c0a2881ca0
3 changed files with 2 additions and 3 deletions
2
dist/kobaltw
vendored
2
dist/kobaltw
vendored
|
@ -1,2 +1,2 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
java -jar $(dirname $0)/../kobalt/wrapper/kobalt-wrapper.jar $*
|
java -jar "`dirname "$0"`/../kobalt/wrapper/kobalt-wrapper.jar" $*
|
1
kobaltw
1
kobaltw
|
@ -1,2 +1 @@
|
||||||
#!/usr/bin/env sh
|
|
||||||
java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*
|
java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*
|
||||||
|
|
|
@ -285,7 +285,7 @@ public class Main {
|
||||||
}
|
}
|
||||||
|
|
||||||
String content = "#!" + envPath + " sh\n"
|
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.");
|
log(2, " Generating " + KOBALTW + " with shebang.");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue