summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Source/Package/V3/bzr.pm
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-01-22 01:46:40 +0100
committerRaphaël Hertzog <hertzog@debian.org>2010-01-22 01:57:39 +0100
commitefd281e8723f9e80e65cbdcefb304483c35ad963 (patch)
tree1728db46c84f4b87446afd867e621df9496c2908 /scripts/Dpkg/Source/Package/V3/bzr.pm
parentc5fea0a576586e993ad8af3c6b2d0897297cd9f7 (diff)
downloaddpkg-efd281e8723f9e80e65cbdcefb304483c35ad963.tar.gz
Dpkg::Compression: new API based on public functions
This API change requires lots of adjustements through the source code.
Diffstat (limited to 'scripts/Dpkg/Source/Package/V3/bzr.pm')
-rw-r--r--scripts/Dpkg/Source/Package/V3/bzr.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Source/Package/V3/bzr.pm b/scripts/Dpkg/Source/Package/V3/bzr.pm
index b30c17a8e..dd5d1444c 100644
--- a/scripts/Dpkg/Source/Package/V3/bzr.pm
+++ b/scripts/Dpkg/Source/Package/V3/bzr.pm
@@ -177,9 +177,9 @@ sub do_extract {
error(_g("format v3.0 uses only one source file"));
}
my $tarfile = $files[0];
- if ($tarfile !~ /^\Q$basenamerev\E\.bzr\.tar\.$comp_regex$/) {
+ if ($tarfile !~ /^\Q$basenamerev\E\.bzr\.tar\.$compression_re_file_ext$/) {
error(_g("expected %s, got %s"),
- "$basenamerev.bzr.tar.$comp_regex", $tarfile);
+ "$basenamerev.bzr.tar.$compression_re_file_ext", $tarfile);
}
erasedir($newdirectory);