]> Savannah Git Hosting - gnulib.git/commitdiff
announce-gen: Fix internationalization in verification instructions.
authorBruno Haible <bruno@clisp.org>
Sun, 10 Jul 2022 07:21:20 +0000 (09:21 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 10 Jul 2022 07:21:20 +0000 (09:21 +0200)
* build-aux/announce-gen: Set LC_ALL, not LANG, to "C", to force English
output from gpg.

ChangeLog
build-aux/announce-gen

index 891d7c4ea7f2e649dbf511ef50bcb5ea1bb2223a..a8f0007ca6ebe8488419af5db955029ce048cf32 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-07-10  Bruno Haible  <bruno@clisp.org>
+
+       announce-gen: Fix internationalization in verification instructions.
+       * build-aux/announce-gen: Set LC_ALL, not LANG, to "C", to force English
+       output from gpg.
+
 2022-07-10  Bruno Haible  <bruno@clisp.org>
 
        lib-symbol-visibility: Improve documentation.
index 320cf4b0d673e236d799fa078872158c93c205a0..3847a568d21080fcf7a919f6e1715d4f6fa109c4 100755 (executable)
@@ -546,7 +546,7 @@ and the corresponding tarball.  Then, run a command like this:
   gpg --verify $tarballs[0].sig
 
 EOF
-  my $gpg_fingerprint = `LANG=C gpg --fingerprint $gpg_key_id | grep -v ^sub`;
+  my $gpg_fingerprint = `LC_ALL=C gpg --fingerprint $gpg_key_id | grep -v ^sub`;
   if ($gpg_fingerprint =~ /^pub/)
     {
       chop $gpg_fingerprint;