From: Guillem Jover Date: Mon, 8 Oct 2007 03:15:59 +0000 (+0300) Subject: Refer to host instead of build architecture and quote it in error string X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e4bf10358ade2ddde2b5b12a0472d963f2ae9a4;p=dpkg Refer to host instead of build architecture and quote it in error string --- 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; }