From 34eecbe9ea93ecd1d978d81de4e63801d8192f37 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 6 Jan 2012 11:25:10 -0600 Subject: [PATCH] mongodb: use standard 32-bit switch Signed-off-by: Jack Nagel --- Formula/mongodb.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/mongodb.rb b/Formula/mongodb.rb index 95e7f3511e..ac49b3cd3e 100644 --- a/Formula/mongodb.rb +++ b/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'], ]