]> Savannah Git Hosting - gnulib.git/commitdiff
maintainer-makefile: correct preceding change
authorJim Meyering <meyering@fb.com>
Tue, 5 Jan 2021 20:43:41 +0000 (12:43 -0800)
committerJim Meyering <meyering@fb.com>
Tue, 5 Jan 2021 20:43:41 +0000 (12:43 -0800)
* top/maint.mk (syntax-check-rules): Use LC_ALL=C, not LANG=C.

ChangeLog
top/maint.mk

index 83b2cda2d75238899c24dcfbc6dd02e542b42f29..893d9fd2a1353313cbe1a11e9b2a317c8b440097 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-05  Jim Meyering  <meyering@fb.com>
+
+       maintainer-makefile: correct preceding change
+       * top/maint.mk (syntax-check-rules): Use LC_ALL=C, not LANG=C.
+
 2021-01-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        maint: note syncs to glibc
index 87f65c7e0ed33844f916321bea5fe0d2831320cb..934f23d56b487a17d2410071c12560dd6672c1ec 100644 (file)
@@ -163,7 +163,7 @@ ifneq ($(_gl-Makefile),)
 _cfg_mk := $(wildcard $(srcdir)/cfg.mk)
 
 # Collect the names of rules starting with 'sc_'.
-syntax-check-rules := $(sort $(shell env LANG=C $(SED) -n \
+syntax-check-rules := $(sort $(shell env LC_ALL=C $(SED) -n \
    's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk)))
 .PHONY: $(syntax-check-rules)