bin/autobuild in autobuild-1.2.2 vs bin/autobuild in autobuild-1.2.3

- old
+ new

@@ -27,13 +27,17 @@ begin Reporting.report do load conffile if Autobuild.mail[:to] - Reporting << MailReporter.new(Autobuild.mail) + if !Autobuild::HAS_RMAIL + STDERR.puts "RMail is not available. Mail notification is disabled" + else + Reporting << MailReporter.new(Autobuild.mail) + end end - targets = ['import'] + targets = ['import'] targets += ['prepare', 'build'] if Autobuild.do_build targets.each do |phase| packages = Autobuild.packages packages = Autobuild.default_packages if packages.empty?