Skip to content

Commit

Permalink
Merge pull request #563 from overture-stack/fix-sing-command
Browse files Browse the repository at this point in the history
Fixed sing executable
  • Loading branch information
rtisma authored Dec 12, 2019
2 parents ec53a29 + 547440f commit d7ca04c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions song-client/src/main/bin/sing
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ if [[ "$_java" ]]; then
fi

here=$(dirname $0)
sing_home=${here%/bin}
# -Dspring.config.location="$sing_home/conf/" \
if [ "$here" == "." ]; then
# This is the case, when the user runs this script from the ./bin directory
sing_home=../
else
sing_home=${here%/bin}
fi

java --illegal-access=deny \
-Dlog.name=song \
Expand Down

0 comments on commit d7ca04c

Please sign in to comment.