Skip to content

Commit

Permalink
Fix issue 34: "release finish" error: bad variable name.
Browse files Browse the repository at this point in the history
On some systems, /bin/sh is a symlink to dash. "local" here wants to
create variables for multiple words on the line. Added quotes so that
these are not treated as multiple variables.
  • Loading branch information
bstpierre committed Nov 3, 2010
1 parent 61f2c69 commit 5ff0b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitflow-common
Expand Up @@ -148,7 +148,7 @@ git_compare_branches() {
git_is_branch_merged_into() {
local subject=$1
local base=$2
local all_merges=$(git branch --no-color --contains $subject | sed 's/^[* ] //')
local all_merges="$(git branch --no-color --contains $subject | sed 's/^[* ] //')"
has $base $all_merges
}

Expand Down

0 comments on commit 5ff0b47

Please sign in to comment.