[debhelper-devel] [debhelper] 07/08: avoid referring to $package in error message
Joey Hess
joey at kitenet.net
Fri Oct 10 23:19:49 UTC 2014
This is an automated email from the git hooks/post-receive script.
joeyh pushed a commit to branch master
in repository debhelper.
commit 81a99fea20a6af55145c17a1d1fef6eb38619abc
Author: Joey Hess <joey at kitenet.net>
Date: Fri Oct 10 17:41:20 2014 -0400
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(-)
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index 971646f..0519d20 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");
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list