Skip to content

Commit

Permalink
Ensure cd before invoking Script
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Mueller committed Apr 10, 2018
1 parent 738b595 commit 18f93ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scripts/GiraBridge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ DEBUG=false
# DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING #
#####################################################################################################

# workaround if you try to start without changing directory first
SCRIPTPATH=`dirname "$0"`
cd ${SCRIPTPATH}

SAVE_CONFIG_DIR=~/.gira-bridge
SAVE_CONFIG_FILE=${SAVE_CONFIG_DIR}/settings.conf

Expand Down

0 comments on commit 18f93ec

Please sign in to comment.