Browse Source

Fix loose regex in dpkg-source (/\.debian.tar/ -> /\.debian\.tar/).
Thanks to Kylan Robinson. Closes: #425629

Guillem Jover 17 years ago
parent
commit
678a28479b
3 changed files with 8 additions and 1 deletions
  1. 5 0
      ChangeLog
  2. 2 0
      debian/changelog
  3. 1 1
      scripts/dpkg-source.pl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2007-05-23  Kylan Robinson  <Kylan_Robinson@selinc.com>
+
+	* scripts/dpkg-source.pl: Fix regex (/\.debian.tar/ ->
+	/\.debian\.tar/).
+
 2007-05-23  Guillem Jover  <guillem@debian.org>
 
 	* scripts/dpkg-source.pl ($copy_required): New variable.

+ 2 - 0
debian/changelog

@@ -6,6 +6,8 @@ dpkg (1.14.4) UNRELEASED; urgency=low
       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).

+ 1 - 1
scripts/dpkg-source.pl

@@ -807,7 +807,7 @@ if ($opmode eq 'build') {
 	    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;