From 81a99fea20a6af55145c17a1d1fef6eb38619abc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Oct 2014 17:41:20 -0400 Subject: avoid referring to $package in error message Depending on control file field order, $package may not yet be populated. --- Debian/Debhelper/Dh_Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Dh_Lib.pm') diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 971646f3..0519d20a 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -844,7 +844,7 @@ sub getpackages { } }; if ($@) { - error("The package $package has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14"); + error("The control file has a Build-Profiles field. Requires libdpkg-perl >= 1.17.14"); } } -- cgit v1.2.3