Author: guillem
Date: 2007-05-22 23:18:12 +0000 (Tue, 22 May 2007)
New Revision: 788

Modified:
   trunk/ChangeLog
   trunk/debian/changelog
   trunk/scripts/dpkg-source.pl
Log:
Fix loose regex in dpkg-source (/\.debian.tar/ -> /\.debian\.tar/).
Thanks to Kylan Robinson. Closes: #425629


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2007-05-22 22:39:39 UTC (rev 787)
+++ trunk/ChangeLog     2007-05-22 23:18:12 UTC (rev 788)
@@ -1,3 +1,8 @@
+2007-05-23  Kylan Robinson  <[EMAIL PROTECTED]>
+
+       * scripts/dpkg-source.pl: Fix regex (/\.debian.tar/ ->
+       /\.debian\.tar/).
+
 2007-05-23  Guillem Jover  <[EMAIL PROTECTED]>
 
        * scripts/dpkg-source.pl ($copy_required): New variable.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2007-05-22 22:39:39 UTC (rev 787)
+++ trunk/debian/changelog      2007-05-22 23:18:12 UTC (rev 788)
@@ -6,6 +6,8 @@
       than the one containing the tarball. Closes: #424998
   * Remove an unused variable in dpkg-statoverride by renaming it to the
     initially intended name. Closes: #425041
+  * Fix loose regex in dpkg-source (/\.debian.tar/ -> /\.debian\.tar/).
+    Thanks to Kylan Robinson. Closes: #425629
 
   [ Updated dpkg translations ]
   * French (Frédéric Bothamy).

Modified: trunk/scripts/dpkg-source.pl
===================================================================
--- trunk/scripts/dpkg-source.pl        2007-05-22 22:39:39 UTC (rev 787)
+++ trunk/scripts/dpkg-source.pl        2007-05-22 23:18:12 UTC (rev 788)
@@ -807,7 +807,7 @@
            my $sub = $1;
            $sub =~ s/\d+$// if $sub =~ /\D/;
            $target = "$expectprefix/$sub";
-       } elsif ($tarfile =~ /\.debian.tar/) {
+       } elsif ($tarfile =~ /\.debian\.tar/) {
            $target = "$expectprefix/debian";
        } else {
            $target = $expectprefix;


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

Reply via email to