diff options
| author | Jack Nagel | 2015-02-14 16:43:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-02-14 16:43:59 -0500 |
| commit | 2bdb565d1fcc53ccf622ffe0c9659616ae161172 (patch) | |
| tree | fa950f881d0d4083fe53661ccece89114275dd03 /Library/Formula | |
| parent | 3699cdd4f6b542f97d065304dcccaef1a5b06274 (diff) | |
| download | homebrew-2bdb565d1fcc53ccf622ffe0c9659616ae161172.tar.bz2 | |
augeas: avoid running configure twice when building HEAD
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/augeas.rb | 10 |
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| |
