aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libdrizzle.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-09 12:40:41 -0700
committerAdam Vandenberg2010-07-16 09:09:39 -0700
commit511d309374f693231938eecfda7202c2a6ce3e4d (patch)
tree08783d129a434ec5977ef27eae3083f5f932b53c /Library/Formula/libdrizzle.rb
parent418902f7beabf6cf724c9e84cf5294aed5fc376e (diff)
downloadhomebrew-511d309374f693231938eecfda7202c2a6ce3e4d.tar.bz2
Add ARGV.build_head? and use it.
This allows both "--HEAD" and "-H" to be used consistently, which was the intention in the first place.
Diffstat (limited to 'Library/Formula/libdrizzle.rb')
-rw-r--r--Library/Formula/libdrizzle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libdrizzle.rb b/Library/Formula/libdrizzle.rb
index 6503e96f2..9e811f60d 100644
--- a/Library/Formula/libdrizzle.rb
+++ b/Library/Formula/libdrizzle.rb
@@ -7,7 +7,7 @@ class Libdrizzle <Formula
md5 '9b2f0ed5d9f63d0f0b9253d03c817d55'
def install
- system "./config/autorun.sh" if ARGV.include? '--HEAD'
+ system "./config/autorun.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end