From 03abf834724714b29e7d44720953affc01dd7415 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 5 Sep 2014 00:36:39 -0500 Subject: [PATCH] Add timestamp and argument list to log files --- Library/Homebrew/formula.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index ef29332912..ab8bbd538d 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -536,6 +536,8 @@ class Formula wr.close File.open(logfn, 'w') do |f| + f.puts Time.now, "", cmd, args, "" + while buf = rd.gets f.puts buf puts buf if ARGV.verbose?