fix launch.sh script when run from absolute path. fixes #3665
This commit is contained in:
parent
8d4a0dd203
commit
e6e0323a70
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
BASE=`pwd`/`dirname $0`
|
||||
if [[ $0 == /* ]]; then
|
||||
BASE=`dirname $0`
|
||||
else
|
||||
BASE=`pwd`/`dirname $0`
|
||||
fi
|
||||
OS=`uname -s`
|
||||
|
||||
if [ "x${OS}" == "xDarwin" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue