aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-01-26 13:53:32 -0600
committerJack Nagel2013-01-26 13:53:32 -0600
commitb8a884bcee2dca52344d5ab95e634c33645e253a (patch)
tree8082481d72d86e04d7d08700b054366145117dea /Library/Homebrew
parent9a179d8b062eb4e148ae4f39375572ef3efaaa60 (diff)
downloadbrew-b8a884bcee2dca52344d5ab95e634c33645e253a.tar.bz2
FormulaInstaller: wrap --build-from-source in an Option object
c.f. Homebrew/homebrew#17327.
Diffstat (limited to 'Library/Homebrew')
-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 e5feb0889..161111132 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -254,7 +254,7 @@ class FormulaInstaller
opts.concat(options) # from a dependent formula
opts.concat((tab.used_options rescue [])) # from a previous install
end
- opts << '--build-from-source' # don't download bottle
+ opts << Option.new("--build-from-source") # don't download bottle
end
end