Skip to content

Commit

Permalink
Add support for symbolically linked launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
lamvak committed Oct 20, 2016
1 parent 6dcd780 commit 53633b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/main/scripts/jbake
@@ -1,5 +1,11 @@
#!/bin/bash
EXEC_LOC="`dirname "$0"`"

P=$(realpath $0)
if [ 0 -ne $? ]; then
P=$0
fi

EXEC_LOC="`dirname "$P"`"
EXEC_PARENT="`dirname $EXEC_LOC`"

CYGWIN=false;
Expand Down

0 comments on commit 53633b2

Please sign in to comment.