lib/autobuild/utility.rb in autobuild-1.10.0.rc14 vs lib/autobuild/utility.rb in autobuild-1.10.0.rc15

- old
+ new

@@ -83,11 +83,13 @@ # This flag allows to disable this utility's task # once {task} has been called if enabled? @installed = false catch(:disabled) do - package.isolate_errors { call_task_block(&block) } + package.isolate_errors do + call_task_block(&block) + end end end end package.task name => task_name @@ -159,10 +161,10 @@ target_dir = self.target_dir source_dir = self.source_dir FileUtils.rm_rf target_dir FileUtils.mkdir_p File.dirname(target_dir) FileUtils.cp_r source_dir, target_dir - Autoproj.message " copied #{name} results for #{package.name} to #{target_dir}" + Autoproj.message " copied #{name} results for #{package.name} from #{source_dir} to #{target_dir}" @installed = true end # Can be called in the block given to {task} to announce that the