Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jon Bernard jbernard authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  git-flow
2  git-flow
@@ -42,7 +42,7 @@ if [ "$DEBUG" = "yes" ]; then
42 42 set -x
43 43 fi
44 44
45   -export GITFLOW_DIR=$(dirname "$0")
  45 +export GITFLOW_DIR=$(dirname $(readlink "$0"))
46 46
47 47 usage() {
48 48 echo "usage: git flow <subcommand>"

0 comments on commit fff16ed

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