aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-03-13 14:16:15 -0500
committerJack Nagel2014-03-13 15:59:54 -0500
commite3c3dbd9a61c957e70b312fb83f028c6437108a3 (patch)
treec34f845b0f773298069048d92072f6ffd91e6b83 /Library/Homebrew
parent3981cacea4bc6cc14ba335fc92f52a78bcdbc320 (diff)
downloadhomebrew-e3c3dbd9a61c957e70b312fb83f028c6437108a3.tar.bz2
Rewrite postfix conditional
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 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