[Reproducible-commits] [debhelper] 07/17: avoid referring to $package in error message
Holger Levsen
holger at moszumanska.debian.org
Sat Oct 11 17:40:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch pu/reproducible_builds
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/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list