aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/upgrade.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-10 14:56:02 -0500
committerJack Nagel2014-03-10 14:56:02 -0500
commitca31256054b3bcf5407c8b8a8bbcba5b2990ed09 (patch)
treeee5ade626d050bff50756f43f9afbee1e75454bc /Library/Homebrew/cmd/upgrade.rb
parent8887913a09613d933db7309f2d1f819a592a4f14 (diff)
downloadhomebrew-ca31256054b3bcf5407c8b8a8bbcba5b2990ed09.tar.bz2
Make build_from_source an explicit installer mode
Diffstat (limited to 'Library/Homebrew/cmd/upgrade.rb')
-rw-r--r--Library/Homebrew/cmd/upgrade.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb
index c2c0582a4..548853540 100644
--- a/Library/Homebrew/cmd/upgrade.rb
+++ b/Library/Homebrew/cmd/upgrade.rb
@@ -60,6 +60,7 @@ module Homebrew extend self
installer.options |= Tab.for_formula(f).used_options
installer.show_header = false
installer.ignore_deps = false
+ installer.build_from_source = ARGV.build_from_source?
installer.prelude
oh1 "Upgrading #{f.name}"