mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
reinstall, upgrade: tweak use of tab build_bottle.
In the case where a bottle wasn't around before and is now it probably doesn't make sense to use `build-bottle` to build something that will be identical to the binary bottle package anyway. After all, when you use the bottle you will end up with something that has been built with `build-bottle` anyway (just not by you).
This commit is contained in:
parent
959d92a84a
commit
28f26e0c9f
@ -20,7 +20,7 @@ module Homebrew
|
||||
|
||||
fi = FormulaInstaller.new(f)
|
||||
fi.options = options
|
||||
fi.build_bottle = ARGV.build_bottle? || tab.build_bottle?
|
||||
fi.build_bottle = ARGV.build_bottle? || (!f.bottled? && tab.build_bottle?)
|
||||
fi.build_from_source = ARGV.build_from_source?
|
||||
fi.force_bottle = ARGV.force_bottle?
|
||||
fi.verbose = ARGV.verbose?
|
||||
|
@ -52,7 +52,7 @@ module Homebrew
|
||||
|
||||
fi = FormulaInstaller.new(f)
|
||||
fi.options = tab.used_options
|
||||
fi.build_bottle = ARGV.build_bottle? || tab.build_bottle?
|
||||
fi.build_bottle = ARGV.build_bottle? || (!f.bottled? && tab.build_bottle?)
|
||||
fi.build_from_source = ARGV.build_from_source?
|
||||
fi.verbose = ARGV.verbose?
|
||||
fi.quieter = ARGV.quieter?
|
||||
|
Loading…
x
Reference in New Issue
Block a user