aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 61c8bf781..ea642e6e9 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -33,13 +33,6 @@ module Homebrew
return true if ARGV.force_bottle? && f.bottle
return false unless f.bottle && f.pour_bottle?
return false if ARGV.build_from_source? || ARGV.build_bottle?
- if f.file_modified?
- filename = f.path.to_s.gsub("#{HOMEBREW_PREFIX}/", "")
- opoo "Formula file is modified!"
- puts "Fetching source because #{filename} has local changes"
- puts "To fetch the bottle instead, run with --force-bottle"
- return false
- end
return false unless f.bottle.compatible_cellar?
true
end