Package: dupload
Version: 2.6.3.2
Tags: patch

DEBDELAY=0 gets treated as DEBDELAY=7 due to the way its value is checked:

--- dupload-2.6.3.2/dupload.conf~
+++ dupload-2.6.3.2/dupload.conf
@@ -79,7 +79,7 @@
 
 # For Delayed uploads use this. You can use 0-day, which is uploaded
 # one hour before dinstall runs.
-$delay = ($ENV{DEBDELAY} || 7);
+$delay = (defined($ENV{DEBDELAY}) ? $ENV{DEBDELAY} : 7);
 $cfg{'delayed'} = {
        fqdn => "gluck.debian.org",
        method => "scpb",

Thanks,

Matej


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to