Skip to content

Commit

Permalink
thrift: use ARGV.build_head?
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Nagel <[email protected]>
  • Loading branch information
jacknagel committed Jun 9, 2012
1 parent bc10e9f commit a98193f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Library/Formula/thrift.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

class Thrift < Formula
homepage 'http://thrift.apache.org'
head 'http://svn.apache.org/repos/asf/thrift/trunk'
url 'http://www.apache.org/dyn/closer.cgi?path=thrift/0.8.0/thrift-0.8.0.tar.gz'
md5 'd29dfcd38d476cbc420b6f4d80ab966c'

head 'http://svn.apache.org/repos/asf/thrift/trunk'

depends_on 'boost'

def install
Expand All @@ -14,7 +15,7 @@ def install
# isn't needed anymore at all but I can't test that.
cp "/usr/X11/share/aclocal/pkg.m4", "aclocal" if MACOS_VERSION < 10.7

system "./bootstrap.sh" if version == 'HEAD'
system "./bootstrap.sh" if ARGV.build_head?

# Language bindings try to install outside of Homebrew's prefix, so
# omit them here. For ruby you can install the gem, and for Python
Expand Down

0 comments on commit a98193f

Please sign in to comment.