]> err.no Git - dak/commitdiff
* fix bug in .commands rm-handling
authorThomas Viehmann <tv@beamnet.de>
Sat, 13 Sep 2008 20:34:25 +0000 (22:34 +0200)
committerThomas Viehmann <tv@beamnet.de>
Sat, 13 Sep 2008 20:34:25 +0000 (22:34 +0200)
Signed-off-by: Thomas Viehmann <tv@beamnet.de>
tools/debianqueued-0.9/debianqueued

index 78de89083fe13feff143d4c95b5569bfe629a31a..a54deec906e9705a2a74d75d94e0a5a91a7873ae 100755 (executable)
@@ -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") {