aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-09-05 00:36:39 -0500
committerJack Nagel2014-09-05 00:36:39 -0500
commit90a4e60c4bb4baca63bfa71beab46cd1f3d15203 (patch)
tree99750fbe138290f0bc569cd1b5f43dd4d1c0dc54 /Library
parent18b6f495c28654377cad640ffb290ec4f31d685c (diff)
downloadhomebrew-90a4e60c4bb4baca63bfa71beab46cd1f3d15203.tar.bz2
Add timestamp and argument list to log files
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index ef2933291..ab8bbd538 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?