aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-07-19 20:33:26 +0100
committerDominyk Tiller2015-07-23 22:28:07 +0100
commitb06af00d76857174220d9c330c47361f0c1da762 (patch)
treeadc7514774158ffb8251af2d2132f2ee343c8b9b /Library
parent81e4f810c1be24eefbf0657410990bd8e167a024 (diff)
downloadbrew-b06af00d76857174220d9c330c47361f0c1da762.tar.bz2
formula_installer: don't flag fs builds
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 92023028e..6d9c0b938 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -180,7 +180,7 @@ class FormulaInstaller
build_bottle_preinstall if build_bottle?
unless @poured_bottle
- if formula.file_modified?
+ if formula.file_modified? && !build_from_source?
filename = formula.path.to_s.gsub("#{HOMEBREW_PREFIX}/", "")
opoo "Formula file is modified!"
puts "Building from source because #{filename} has local changes"