From 1e4bf10358ade2ddde2b5b12a0472d963f2ae9a4 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 8 Oct 2007 06:15:59 +0300 Subject: [PATCH] Refer to host instead of build architecture and quote it in error string --- ChangeLog | 5 +++++ scripts/dpkg-gencontrol.pl | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 028e2b67..bc6ce87f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-08 Guillem Jover + + * scripts/dpkg-gencontrol.pl: Refer to host architecture (instead of + build) in error string, and quote architecture name. + 2007-10-08 Frank Lichtenheld , Guillem Jover diff --git a/scripts/dpkg-gencontrol.pl b/scripts/dpkg-gencontrol.pl index 6f9ead54..140c3cc7 100755 --- a/scripts/dpkg-gencontrol.pl +++ b/scripts/dpkg-gencontrol.pl @@ -183,8 +183,9 @@ for $_ (keys %fi) { join("' `", @invalid_archs))) if @invalid_archs >= 1; grep(debarch_is($host_arch, $_), @archlist) || - &error(sprintf(_g("current build architecture %s does not". - " appear in package's list (%s)"), + error(sprintf(_g("current host architecture '%s' does " . + "not appear in package's architecture " . + "list (%s)"), $host_arch, "@archlist")); $f{$_} = $host_arch; } -- 2.39.5