Author: adsb
Date: 2009-07-24 13:18:05 +0000 (Fri, 24 Jul 2009)
New Revision: 1941

Modified:
   trunk/scripts/debchange.pl
Log:
Make the "upload to $dist" change more versatile

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2009-07-24 13:06:57 UTC (rev 1940)
+++ trunk/scripts/debchange.pl  2009-07-24 13:18:05 UTC (rev 1941)
@@ -1157,8 +1157,9 @@
                last;
            }
        }       
-       elsif (/  \* Upload to (.*)$/) {
-           $dist_indicator = $1;
+       elsif (/  \* Upload to ([^ ]+).*$/) {
+           ($dist_indicator = $1) =~ s/[,;]$//;
+           chomp $dist_indicator;
        }
        elsif (/^ --\s+([^<]+)\s+/) {
            $lastmaint=$1;



-- 
To unsubscribe, send mail to pkg-devscripts-unsubscr...@teams.debian.net.

Reply via email to