aboutsummaryrefslogtreecommitdiffstats
path: root/bin/brew
diff options
context:
space:
mode:
authorMax Howell2009-09-22 19:58:10 +0100
committerMax Howell2009-09-22 19:58:10 +0100
commitb54bee33a1a876bfb0fe147d8dbf4b990a0f2816 (patch)
tree8490cc3ede79eaf123bb4b7903b5581f33ad1b1b /bin/brew
parent10b1f9404c37f87a73bacf32b9ac91a5f7442653 (diff)
downloadhomebrew-b54bee33a1a876bfb0fe147d8dbf4b990a0f2816.tar.bz2
brew install --ignore-dependencies
I used the same option flag as ruby gems does.
Diffstat (limited to 'bin/brew')
-rwxr-xr-xbin/brew8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/brew b/bin/brew
index 58638ae02..b8f721195 100755
--- a/bin/brew
+++ b/bin/brew
@@ -107,9 +107,11 @@ begin
formulae = ARGV.formulae
end
- deps = []
- formulae.each { |f| deps += expand_deps f }
- formulae = deps.reject { |f| f.installed? }
+ unless ARGV.include? '--ignore-dependencies'
+ deps = []
+ formulae.each { |f| deps += expand_deps f }
+ formulae = deps.reject { |f| f.installed? }
+ end
require 'set'
done = Set.new