aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-03-08 19:08:47 -0600
committerJack Nagel2014-03-08 19:08:47 -0600
commit8cdf4d8ebf439eb9a9ffcaa0e455ced9459e1e41 (patch)
treebafc768576a2e062dd6c5343bb3114c04bf8443e /Library/Homebrew
parent3c9a197761423d57d2408f61cd27bf44820b4528 (diff)
downloadhomebrew-8cdf4d8ebf439eb9a9ffcaa0e455ced9459e1e41.tar.bz2
Remove "--fresh" option from installer
Turns out that this doesn't really work at all. `brew install` _never_ reuses options in the first place, and using this option with `brew upgrade` results in some nasty corner cases in passing options to dependencies.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ARGV.rb1
-rw-r--r--Library/Homebrew/formula_installer.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 476ef62df..5bc88142b 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -187,7 +187,6 @@ module HomebrewArgvExtension
--build-bottle
--debug -d
--devel
- --fresh
--interactive -i
--HEAD
]
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index d341094f8..e93263c08 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -394,7 +394,7 @@ class FormulaInstaller
def build_argv
opts = Options.coerce(sanitized_ARGV_options)
- opts.concat(options) unless opts.include? "--fresh"
+ opts.concat(options)
opts << Option.new("--build-from-source") # don't download bottle
end