summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-29 18:37:46 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-29 18:37:46 +0300
commitf70ee371ef6fbcc6c8f951fc3ca764e0e42bfe3d (patch)
tree3a5c44753eb653d372dc5c5096310afada18f239
parent68735ec1cf5c37a962282b67a21ee7a3a5f87c34 (diff)
downloaddpkg-f70ee371ef6fbcc6c8f951fc3ca764e0e42bfe3d.tar.gz
Fix missing $dir
-rw-r--r--scripts/Dpkg/Source/Package/V1.pm2
-rw-r--r--scripts/Dpkg/Source/Package/V2.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Source/Package/V1.pm b/scripts/Dpkg/Source/Package/V1.pm
index d91cea03b..636a92452 100644
--- a/scripts/Dpkg/Source/Package/V1.pm
+++ b/scripts/Dpkg/Source/Package/V1.pm
@@ -419,7 +419,7 @@ sub do_build {
info(g_('building %s using existing %s'), $sourcepackage, $tarsign);
$self->add_file($tarsign);
- $self->check_original_tarball_signature($tarsign);
+ $self->check_original_tarball_signature($dir, $tarsign);
}
if ($sourcestyle =~ m/[kpKP]/) {
diff --git a/scripts/Dpkg/Source/Package/V2.pm b/scripts/Dpkg/Source/Package/V2.pm
index d84fce2dd..97a165a74 100644
--- a/scripts/Dpkg/Source/Package/V2.pm
+++ b/scripts/Dpkg/Source/Package/V2.pm
@@ -438,7 +438,7 @@ sub _generate_patch {
$self->{fields}{'Source'}, $origtarfile);
}
- $self->check_original_tarball_signature(@origtarsigns);
+ $self->check_original_tarball_signature($dir, @origtarsigns);
}
# Unpack a second copy for comparison