aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-02-14 16:43:59 -0500
committerJack Nagel2015-02-14 16:43:59 -0500
commit2bdb565d1fcc53ccf622ffe0c9659616ae161172 (patch)
treefa950f881d0d4083fe53661ccece89114275dd03 /Library
parent3699cdd4f6b542f97d065304dcccaef1a5b06274 (diff)
downloadhomebrew-2bdb565d1fcc53ccf622ffe0c9659616ae161172.tar.bz2
augeas: avoid running configure twice when building HEAD
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/augeas.rb10
1 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/augeas.rb b/Library/Formula/augeas.rb
index 402397525..b70cd0d94 100644
--- a/Library/Formula/augeas.rb
+++ b/Library/Formula/augeas.rb
@@ -23,9 +23,13 @@ class Augeas < Formula
depends_on "readline"
def install
- system "./autogen.sh" if build.head?
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ args = %W[--disable-debug --disable-dependency-tracking --prefix=#{prefix}]
+
+ if build.head?
+ system "./autogen.sh", *args
+ else
+ system "./configure", *args
+ end
# libfa example program doesn't compile cleanly on OSX, so skip it
inreplace "Makefile" do |s|