Commit 5ff0b479 authored by Brian St. Pierre's avatar Brian St. Pierre

Fix issue 34: "release finish" error: bad variable name.

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.
parent 61f2c691
...@@ -148,7 +148,7 @@ git_compare_branches() { ...@@ -148,7 +148,7 @@ git_compare_branches() {
git_is_branch_merged_into() { git_is_branch_merged_into() {
local subject=$1 local subject=$1
local base=$2 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 has $base $all_merges
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment