summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2021-01-05 12:43:41 -0800
committerJim Meyering <meyering@fb.com>2021-01-05 12:43:41 -0800
commit5018ab735d8de36b642b56b460459e2fae14b61c (patch)
treeb416fe14ca8aaf7616b48df1c110c2cdb6b37d0e
parentc7b5d627ba95313c35192d714ad9794389824a49 (diff)
downloadgnulib-5018ab735d8de36b642b56b460459e2fae14b61c.tar.gz
maintainer-makefile: correct preceding change
* top/maint.mk (syntax-check-rules): Use LC_ALL=C, not LANG=C.
-rw-r--r--ChangeLog5
-rw-r--r--top/maint.mk2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 83b2cda2d7..893d9fd2a1 100644
--- 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
diff --git a/top/maint.mk b/top/maint.mk
index 87f65c7e0e..934f23d56b 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -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)