Author: adam-guest
Date: 2008-04-08 15:53:45 +0000 (Tue, 08 Apr 2008)
New Revision: 1316

Modified:
   trunk/debian/changelog
   trunk/scripts/debchange.pl
Log:
debchange: Escape arguments to --local (Closes: #475034)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-04-08 13:42:07 UTC (rev 1315)
+++ trunk/debian/changelog      2008-04-08 15:53:45 UTC (rev 1316)
@@ -9,6 +9,7 @@
     + Abort if the Format field of the .changes file is unsupported
       (greater than 1.8, less than 1.7 or non-numeric)
     + Use a case-insensitive search for field names
+  * debchange: Escape arguments to --local (Closes: #475034)
 
   [ James Vega ]
   * debian/control: Set subversion as the first VCS Recommends alternative.

Modified: trunk/scripts/debchange.pl
===================================================================
--- trunk/scripts/debchange.pl  2008-04-08 13:42:07 UTC (rev 1315)
+++ trunk/scripts/debchange.pl  2008-04-08 15:53:45 UTC (rev 1316)
@@ -974,7 +974,7 @@
                # If it's not already a backport make it so
                # otherwise we can be safe if we behave like dch -i
                $end .= "~bpo40+1";
-           } elsif ($opt_l and not $start =~ /$opt_l/) {
+           } elsif ($opt_l and not $start =~ /\Q$opt_l\E/) {
                # If it's not already a local package make it so
                # otherwise we can be safe if we behave like dch -i
                $end .= $opt_l."1";



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to