From 462201d19ad00abd014577c919b2faf2ced0d12f Mon Sep 17 00:00:00 2001 From: dinkypumpkin Date: Thu, 12 Jul 2012 12:02:34 +0100 Subject: 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 --- Library/Formula/git-flow.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula/git-flow.rb') 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 -- cgit v1.2.3