[debhelper-devel] [Git][debian/debhelper][master] Buildsystem.pm: Improve error message
Niels Thykier
gitlab at salsa.debian.org
Sat Apr 7 08:56:32 UTC 2018
Niels Thykier pushed to branch master at Debian / debhelper
Commits:
f1d6cad9 by Niels Thykier at 2018-04-07T08:54:29+00:00
Buildsystem.pm: Improve error message
Signed-off-by: Niels Thykier <niels at thykier.net>
- - - - -
1 changed file:
- lib/Debian/Debhelper/Buildsystem.pm
Changes:
=====================================
lib/Debian/Debhelper/Buildsystem.pm
=====================================
--- a/lib/Debian/Debhelper/Buildsystem.pm
+++ b/lib/Debian/Debhelper/Buildsystem.pm
@@ -174,7 +174,7 @@ sub set_targetbuildsystem {
my $target_bs_name = $target_system->NAME;
if (not $this->IS_GENERATOR_BUILD_SYSTEM) {
my $name = $this->NAME;
- error("Buildsystem ${name} is not a generator build system");
+ error("Cannot set a target build system: Buildsystem ${name} is not a generator build system");
}
for my $supported_bs_name ($this->SUPPORTED_TARGET_BUILD_SYSTEMS) {
if ($supported_bs_name eq $target_bs_name) {
View it on GitLab: https://salsa.debian.org/debian/debhelper/commit/f1d6cad9c7a709455acf26887c0263ab96af9772
---
View it on GitLab: https://salsa.debian.org/debian/debhelper/commit/f1d6cad9c7a709455acf26887c0263ab96af9772
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20180407/2dba56bd/attachment.html>
More information about the debhelper-devel
mailing list