From: Thomas Viehmann Date: Sat, 13 Sep 2008 20:34:25 +0000 (+0200) Subject: * fix bug in .commands rm-handling X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa9d16b93dbe1a1c6bebbf864b3d056b2070527a;p=dak * fix bug in .commands rm-handling Signed-off-by: Thomas Viehmann --- diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued index 78de8908..a54deec9 100755 --- a/tools/debianqueued-0.9/debianqueued +++ b/tools/debianqueued-0.9/debianqueued @@ -1327,8 +1327,9 @@ sub process_commands($) { push (@thesefiles, $file); } for ( my($adelay)=0; $adelay <= $conf::max_delayed; $adelay++ ) { - if (-f $file) { - push (@thesefiles, $file); + my($dir) = sprintf( $conf::incoming_delayed, $adelay ); + if (-f "$dir/$file") { + push (@thesefiles, "$dir/$file"); } } if ($file =~ m/\.changes$/ && $conf::upload_method eq "copy") {