diff options
| author | Jack Nagel | 2012-01-06 11:25:10 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-06 11:36:27 -0600 |
| commit | 63ab506f11fbde89b155bb6d91baee0ed639ad0d (patch) | |
| tree | 6c85d77bc58e01e6de8a5a241050e6d47366789d /Library/Formula | |
| parent | 11e6e2fd4afa472b1d16a920c2c4aff8e54ec921 (diff) | |
| download | homebrew-63ab506f11fbde89b155bb6d91baee0ed639ad0d.tar.bz2 | |
mongodb: use standard 32-bit switch
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mongodb.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 95e7f3511..ac49b3cd3 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -17,7 +17,7 @@ class Mongodb < Formula } } - package = (Hardware.is_64_bit? and not ARGV.include? '--32bit') ? packages[:x86_64] : packages[:i386] + package = (Hardware.is_64_bit? and not ARGV.build_32_bit?) ? packages[:x86_64] : packages[:i386] url package[:url] md5 package[:md5] @@ -27,7 +27,7 @@ class Mongodb < Formula def options [ - ['--32bit', 'Override arch detection and install the 32-bit version.'], + ['--32-bit', 'Build 32-bit only.'], ['--nojournal', 'Disable write-ahead logging (Journaling)'], ['--rest', 'Enable the REST Interface on the HTTP Status Page'], ] |
