aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/build.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/build.rb')
-rw-r--r--Library/Homebrew/build.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb
index d898b84e0..1c9584719 100644
--- a/Library/Homebrew/build.rb
+++ b/Library/Homebrew/build.rb
@@ -105,7 +105,8 @@ class Build
formula.extend(Debrew::Formula) if ARGV.debug?
- formula.brew do
+ formula.brew do |_formula, staging|
+ staging.retain! if ARGV.keep_tmp?
formula.patch
if ARGV.git?