Fix building bottles from source.

This commit is contained in:
Mike McQuaid committed 2012-09-18 20:05:03 +01:00
1 parent 6f9cb0d7f1
commit e87e8a1d9a
1 file changed
+2 -1
+2 -1
View File
@@ -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