[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/security] * fix bug in .commands rm-handling



Signed-off-by: Thomas Viehmann <tv@beamnet.de>
---
 tools/debianqueued-0.9/debianqueued |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued
index 78de890..a54deec 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") {
-- 
1.5.6.5



Reply to: