]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2001-08-16 06:31:12 by doogie]
authordoogie <>
Thu, 16 Aug 2001 13:31:12 +0000 (05:31 -0800)
committerdoogie <>
Thu, 16 Aug 2001 13:31:12 +0000 (05:31 -0800)
Rename addressmap vars to be easier to understand.

scripts/receive.in

index 3d24a3fc904ddb3f233b304c29f46b3e32f20a20..d99664ba5b2a2011d82255be9fad2778fd8ba4d5 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/perl -w
-# $Id: receive.in,v 1.8 2000/10/10 23:39:12 joy Exp $
+# $Id: receive.in,v 1.9 2001/08/16 06:31:12 doogie Exp $
 # usage: mail is piped directly into program
 
 #set umask in order to have group-writable incoming/*
@@ -33,7 +33,7 @@ s/\@.*$//;
 y/A-Z/a-z/;
 
 #set up to determine command
-%withnaddressmap= ('-submit',     'B',
+%withbugaddressmap= ('-submit',     'B',
                    '',            'B',
                    '-maintonly',  'M',
                    '-quiet',      'Q',
@@ -43,7 +43,7 @@ y/A-Z/a-z/;
                    '-close',      'D',
                    '-submitter',  'U');
 
-%withoutnaddressmap= ('submit',     'B',
+%withoutaddressmap= ('submit',     'B',
                       'bugs',       'B',
                       'maintonly',  'M',
                       'quiet',      'Q',
@@ -57,11 +57,11 @@ y/A-Z/a-z/;
 #determine command
 if (s/^(\d{1,9})\b//) {
     $bugnumber= $1;
-    $map= $withnaddressmap{$_};
+    $map= $withbugaddressmap{$_};
     $addrrec= "$bugnumber$_";
 } else {
     $bugnumber= '';
-    $map= $withoutnaddressmap{$_};
+    $map= $withoutaddressmap{$_};
     $addrrec= "$_";
 }