diff options
| author | Adam Vandenberg | 2010-07-09 12:40:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-16 09:09:39 -0700 |
| commit | 511d309374f693231938eecfda7202c2a6ce3e4d (patch) | |
| tree | 08783d129a434ec5977ef27eae3083f5f932b53c /Library/Formula/libevent.rb | |
| parent | 418902f7beabf6cf724c9e84cf5294aed5fc376e (diff) | |
| download | homebrew-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/libevent.rb')
| -rw-r--r-- | Library/Formula/libevent.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libevent.rb b/Library/Formula/libevent.rb index 80f03b80b..c66dc7ddd 100644 --- a/Library/Formula/libevent.rb +++ b/Library/Formula/libevent.rb @@ -7,7 +7,7 @@ class Libevent <Formula head 'git://levent.git.sourceforge.net/gitroot/levent/levent' def install - system "./autogen.sh" if ARGV.include? '--HEAD' + system "./autogen.sh" if ARGV.build_head? ENV.j1 # Needed for Mac Pro compilation system "./configure", "--prefix=#{prefix}" |
