Modified: build_system/iurt/trunk/ulri =================================================================== --- build_system/iurt/trunk/ulri 2011-01-18 22:30:20 UTC (rev 319) +++ build_system/iurt/trunk/ulri 2011-01-18 22:46:16 UTC (rev 320) @@ -165,6 +165,7 @@ $run{pidfile_home} = $config->{tmp}; $run{pidfile} = "upload"; +my $pidfile = check_pid(\%run); #my $cache = init_cache(\%run, $config, { done => {} }); my $cache = { done => {} }; @@ -293,7 +294,6 @@ plog('MSG', "check build bot results"); -my $pidfile = check_pid(\%run); my %later; foreach my $prefix (keys %pkg_tree) { my $ent = $pkg_tree{$prefix}; @@ -538,7 +538,6 @@ } # end bot } # end prefix -unlink $pidfile; # @@ -749,6 +748,7 @@ map { sprintf("%s(%d)", $_, $to_compile{$_}) } keys %to_compile : "none"); +unlink $pidfile; #dump_cache(\%run); exit();