From 678a28479b49ca3fd4ab90152dfb8109eadc7e26 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 22 May 2007 23:18:12 +0000 Subject: [PATCH] Fix loose regex in dpkg-source (/\.debian.tar/ -> /\.debian\.tar/). Thanks to Kylan Robinson. Closes: #425629 --- ChangeLog | 5 +++++ debian/changelog | 2 ++ scripts/dpkg-source.pl | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44fb3326..f1ca98ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-23 Kylan Robinson + + * scripts/dpkg-source.pl: Fix regex (/\.debian.tar/ -> + /\.debian\.tar/). + 2007-05-23 Guillem Jover * scripts/dpkg-source.pl ($copy_required): New variable. diff --git a/debian/changelog b/debian/changelog index dcfb001c..e7d0693c 100644 --- a/debian/changelog +++ b/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). diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index a91dc869..66a3f897 100755 --- a/scripts/dpkg-source.pl +++ b/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; -- 2.39.5