mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Merge pull request #83 from AlexCzar/master
Make kobaltw play nice when it's soft-linked (`ln -s`)
This commit is contained in:
commit
6c3c3033cf
2 changed files with 2 additions and 2 deletions
|
@ -206,7 +206,7 @@ public class Main {
|
|||
}
|
||||
log(2, "Generating " + KOBALTW + (envFile.exists() ? " with shebang" : "") + ".");
|
||||
|
||||
content += "java -jar $(dirname $0)/kobalt/wrapper/kobalt-wrapper.jar $*\n";
|
||||
content += "java -jar $(dirname \"$(readlink -f $0)\")/kobalt/wrapper/kobalt-wrapper.jar $*\n";
|
||||
|
||||
Files.write(filePath, content.getBytes());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue