aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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|