diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 38ecf30bf0..15eba4bfe1 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -424,7 +424,7 @@ class FormulaInstaller def sanitized_ARGV_options args = [] - args << "--ignore-dependencies" if ignore_deps? + args << "--ignore-dependencies" if ARGV.ignore_deps? if build_bottle? args << "--build-bottle"