aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-flow.rb
diff options
context:
space:
mode:
authordinkypumpkin2012-07-12 12:02:34 +0100
committerAdam Vandenberg2012-07-12 06:58:06 -0700
commit462201d19ad00abd014577c919b2faf2ced0d12f (patch)
tree831b29a87118c6b16885b0c78921a56dc612e6f2 /Library/Formula/git-flow.rb
parent11963f038ac9c0308755c4fea869e94a0330a3e6 (diff)
downloadhomebrew-462201d19ad00abd014577c919b2faf2ced0d12f.tar.bz2
git-flow: fix broken HEAD build
Because the subordinate formula GitFlowCompletion defines 'head', its constructor requires a 'name' argument when --HEAD is used. The 'name' attribute is required to create the Git repo for the formula. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/git-flow.rb')
-rw-r--r--Library/Formula/git-flow.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git-flow.rb b/Library/Formula/git-flow.rb
index 604b27944..e04dd6496 100644
--- a/Library/Formula/git-flow.rb
+++ b/Library/Formula/git-flow.rb
@@ -20,7 +20,7 @@ class GitFlow < Formula
def install
system "make", "prefix=#{prefix}", "install"
- GitFlowCompletion.new.brew do
+ GitFlowCompletion.new('git-flow-completion').brew do
(prefix+'etc/bash_completion.d').install "git-flow-completion.bash"
(share+'zsh/site-functions').install "git-flow-completion.zsh"
end