summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-02-26 19:38:26 +0000
committerNiels Thykier <niels@thykier.net>2018-02-26 19:38:26 +0000
commit7025d4f38f2d263634932cd5faf32442c41015f7 (patch)
tree8a103f05cde9cb56018e04aa8891a41e796693a2 /lib
parentfacf873493cebf4c31e60cb36b70d34bc54ecf40 (diff)
downloaddebhelper-7025d4f38f2d263634932cd5faf32442c41015f7.tar.gz
Dh_Lib: Fix invalid parameter for package_cross_type
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Debian/Debhelper/Dh_Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Debian/Debhelper/Dh_Lib.pm b/lib/Debian/Debhelper/Dh_Lib.pm
index e5fad23e..509fd563 100644
--- a/lib/Debian/Debhelper/Dh_Lib.pm
+++ b/lib/Debian/Debhelper/Dh_Lib.pm
@@ -817,7 +817,7 @@ sub default_sourcedir {
for my $pkg (@{$package}) {
push(@try, "debian/${pkg}.${filename}");
if ($check_expensive) {
- my $cross_type = uc(package_cross_type($package));
+ my $cross_type = uc(package_cross_type($pkg));
push(@try,
"debian/${pkg}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH"),
"debian/${pkg}.${filename}.".dpkg_architecture_value("DEB_${cross_type}_ARCH_OS"),