Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set GITFLOW_DIR correctly if git-flow is a symbolic link

This allows a user to create a symbolic link to git-flow in their
personal bin directory (e.g. ~/bin) without having to add the source
tree to their $PATH or do a system install.
  • Loading branch information...
commit fff16edd881fee12547114d37e64d86582a9e392 1 parent a7a89cd
@jbernard jbernard authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  git-flow
View
2  git-flow
@@ -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>"

1 comment on commit fff16ed

@marcoscoelho

error in win7 using msysgit

Please sign in to comment.
Something went wrong with that request. Please try again.