aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/ARGV.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index 3c49480e2..6b4d925f5 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -134,7 +134,8 @@ module HomebrewArgvExtension
end
def build_from_source?
- include? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE']
+ include? '--build-from-source' or ENV['HOMEBREW_BUILD_FROM_SOURCE'] \
+ or build_bottle?
end
def flag? flag