Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

riak: use options DSL

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information...
commit 5056906c0ee27ff3ac6afd7048cc85754c2151a6 1 parent b13339a
Jack Nagel jacknagel authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 Library/Formula/riak.rb
6 Library/Formula/riak.rb
View
@@ -3,7 +3,7 @@
class Riak < Formula
homepage 'http://wiki.basho.com/Riak.html'
- if Hardware.is_64_bit? and not ARGV.build_32_bit?
+ if Hardware.is_64_bit? and not build.build_32_bit?
url 'http://s3.amazonaws.com/downloads.basho.com/riak/1.2/1.2.0/osx/10.4/riak-1.2.0-osx-x86_64.tar.gz'
version '1.2.0-x86_64'
sha256 '5681d37377a5efe3553efc2efc1fce81e26168252dc130f7b40d2b6cfa1da9e4'
@@ -15,9 +15,7 @@ class Riak < Formula
skip_clean :all
- def options
- [['--32-bit', 'Build 32-bit only.']]
- end
+ option '32-bit'
def install
libexec.install Dir['*']
Please sign in to comment.
Something went wrong with that request. Please try again.