lib/autobuild/subcommand.rb in autobuild-1.6.1 vs lib/autobuild/subcommand.rb in autobuild-1.6.2.b1

- old
+ new

@@ -108,11 +108,11 @@ # The format of the cpuinfo file is ... let's say not very standardized. # If the cpuinfo detection fails, inform the user and set it to 1 if !@processor_count # Hug... What kind of system is it ? - STDERR.puts "INFO: cannot autodetect the number of CPUs on this sytem" + Autobuild.message "INFO: cannot autodetect the number of CPUs on this sytem" @processor_count = 1 end @processor_count end @@ -166,10 +166,10 @@ if !File.directory?(File.dirname(logname)) FileUtils.mkdir_p File.dirname(logname) end if Autobuild.verbose - puts "#{target_name}: running #{command.join(" ")}\n (output goes to #{logname})" + Autobuild.message "#{target_name}: running #{command.join(" ")}\n (output goes to #{logname})" end open_flag = if Autobuild.keep_oldlogs then 'a' elsif Autobuild.registered_logfile?(logname) then 'a' else 'w'