aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 14:16:15 -0500
committerJack Nagel2014-03-13 15:59:54 -0500
commit16fde6fbdb094d0e31f63d69f596461ba294000f (patch)
tree3723953613c0e3796ed9bb6441d9952b0308c466 /Library
parent0f4f7aa2713516235f600ac416da75601258b177 (diff)
downloadbrew-16fde6fbdb094d0e31f63d69f596461ba294000f.tar.bz2
Rewrite postfix conditional
Diffstat (limited to 'Library')
-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 6922430e8..38ecf30bf 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -419,7 +419,7 @@ class FormulaInstaller
end
def build_time
- @build_time ||= Time.now - @start_time unless interactive? or @start_time.nil?
+ @build_time ||= Time.now - @start_time if @start_time && !interactive?
end
def sanitized_ARGV_options