Merge pull request #5733 from Christian Flamm

* gh-5679:
  Update launch script to canonicalize jarfolder
This commit is contained in:
Andy Wilkinson 2016-05-10 16:28:22 +01:00
commit 3ad334ed81
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ while [[ -L "$jarfile" ]]; do
cd "$(dirname "$jarfile")" || exit 1
jarfile=$(pwd)/$(basename "$jarfile")
done
jarfolder="$(dirname "$jarfile")"
jarfolder="$( (cd $(dirname "$jarfile") && pwd -P) )"
cd "$WORKING_DIR" || exit 1
# Source any config file