From 62aa2f208300984852ada77c4bc90ca6e6b62543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Birger=20J=2E=20Nord=C3=B8lum?= Date: Sat, 19 Feb 2011 11:27:21 +0100 Subject: [PATCH] DASH Shell: Added HEAD option. Signed-off-by: Adam Vandenberg --- Formula/dash.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Formula/dash.rb b/Formula/dash.rb index fe00f89b633..f5779a071a8 100644 --- a/Formula/dash.rb +++ b/Formula/dash.rb @@ -4,10 +4,15 @@ class Dash :git def install - system "./configure", "--disable-debug", - "--prefix=#{prefix}", + if ARGV.build_head? + system "aclocal" + system "autoreconf -f -i -Wall,no-obsolete" + end + + system "./configure", "--prefix=#{prefix}", "--with-libedit" system "make" system "make install"