aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBirger J. Nordølum2011-04-05 10:35:42 +0200
committerAdam Vandenberg2011-04-05 07:13:27 -0700
commit2dbb6c07a3110f5c1103b34d66cd1fd14444ac4e (patch)
tree82760ceebdc5cd3735fa01646cc116e19742e7f4 /Library/Formula
parent45fdbf5a4a08ea0bb58ee4e2efab5e6dbd222e87 (diff)
downloadhomebrew-2dbb6c07a3110f5c1103b34d66cd1fd14444ac4e.tar.bz2
Fix building bash-completion from source.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bash-completion.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb
index bf987d241..478b4fa0b 100644
--- a/Library/Formula/bash-completion.rb
+++ b/Library/Formula/bash-completion.rb
@@ -12,6 +12,12 @@ class BashCompletion < Formula
s.gsub! 'readlink -f', "readlink"
end
+ if ARGV.build_head?
+ system "aclocal"
+ system "autoconf"
+ system "automake --add-missing"
+ end
+
system "./configure", "--prefix=#{prefix}"
system "make install"