dash: use new dsl

This commit is contained in:
Adam Vandenberg 2012-08-26 22:22:07 -07:00
parent e336e4e59c
commit cbff039698

View file

@ -7,10 +7,10 @@ class Dash < Formula
head 'https://git.kernel.org/pub/scm/utils/dash/dash.git'
depends_on :automake if ARGV.build_head?
depends_on :automake if build.head?
def install
if ARGV.build_head?
if build.head?
system "aclocal"
system "autoreconf -f -i -Wall,no-obsolete"
end