lib/autobuild/subcommand.rb in autobuild-1.5.52.rc3 vs lib/autobuild/subcommand.rb in autobuild-1.5.52.rc4
- old
+ new
@@ -173,9 +173,12 @@
status = File.open(logname, open_flag) do |logfile|
if Autobuild.keep_oldlogs
logfile.puts
end
+ logfile.puts
+ logfile.puts "#{Time.now}: running"
+ logfile.puts " #{command.join(" ")}"
logfile.puts "with environment:"
ENV.keys.sort.each do |key|
logfile.puts " '#{key}'='#{ENV[key]}'"
end
logfile.puts