diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mongodb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index ce1287970..76cfe4d90 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -47,7 +47,7 @@ class Mongodb < Formula mv bin/'mongod', prefix (bin/'mongod').write <<-EOS.undent #!/usr/bin/env ruby - ARGV << '--config' << '#{etc}/mongod.conf' unless ARGV.include? '--config' + ARGV << '--config' << '#{etc}/mongod.conf' unless ARGV.find { |arg| arg =~ /\-\-config/ } exec "#{prefix}/mongod", *ARGV EOS |
