diff -r 57a2cac6870f -r 0c558d696e7a common/tools/raptor/RaptorReleaseable.pm --- a/common/tools/raptor/RaptorReleaseable.pm Tue Aug 18 13:48:35 2009 +0100 +++ b/common/tools/raptor/RaptorReleaseable.pm Mon Aug 24 11:01:37 2009 +0100 @@ -35,6 +35,7 @@ $buildlog_status->{name} = 'buildlog_status'; $buildlog_status->{next_status} = {whatlog=>$whatlog_status}; +$buildlog_status->{on_start} = 'RaptorReleaseable::on_start_buildlog'; $whatlog_status->{name} = 'whatlog_status'; $whatlog_status->{next_status} = {bitmap=>$bitmap_status, resource=>$resource_status, build=>$build_status, export=>$export_status, stringtable=>$stringtable_status, archive=>$archive_status, '?default?'=>$whatlog_default_status}; @@ -88,6 +89,11 @@ my $curfiletype = 'unknown'; my $characters = ''; +sub on_start_buildlog +{ + mkdir("$::basedir/releaseables"); +} + sub on_start_whatlog { my ($el) = @_; @@ -223,7 +229,6 @@ my $layer = $1; my $package = $2; - mkdir("$::basedir/releaseables"); mkdir("$::basedir/releaseables/$layer"); mkdir("$::basedir/releaseables/$layer/$package");