aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBirger J. Nordølum2011-02-19 11:27:21 +0100
committerAdam Vandenberg2011-02-19 09:26:25 -0800
commit51c253a4c307a5a1c9af4e17b3e9075b65b6c9a3 (patch)
tree04d93d9e24d2383273f2317a9361d6b0c8519cd6 /Library
parent4ee576588ec5307aca32eea902be4c7a91d4e586 (diff)
downloadhomebrew-51c253a4c307a5a1c9af4e17b3e9075b65b6c9a3.tar.bz2
DASH Shell: Added HEAD option.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dash.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/Library/Formula/dash.rb b/Library/Formula/dash.rb
index fe00f89b6..f5779a071 100644
--- a/Library/Formula/dash.rb
+++ b/Library/Formula/dash.rb
@@ -4,10 +4,15 @@ class Dash <Formula
url 'http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.6.1.tar.gz'
homepage 'http://gondor.apana.org.au/~herbert/dash/'
sha1 '06944456a1e3a2cbc325bffd0c898eff198b210a'
+ head 'https://git.kernel.org/pub/scm/utils/dash/dash.git', :using => :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"