Skip to content

Commit

Permalink
Merged pull request #119 from jbernard/develop.
Browse files Browse the repository at this point in the history
Set GITFLOW_DIR correctly if git-flow is a symbolic link
  • Loading branch information
nvie committed Apr 26, 2011
2 parents d762995 + fff16ed commit a64939d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if [ "$DEBUG" = "yes" ]; then
set -x
fi

export GITFLOW_DIR=$(dirname "$0")
export GITFLOW_DIR=$(dirname $(readlink "$0"))

usage() {
echo "usage: git flow <subcommand>"
Expand Down

0 comments on commit a64939d

Please sign in to comment.