summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2021-01-04 23:12:46 +0100
committerSimon Josefsson <simon@josefsson.org>2021-01-04 23:12:46 +0100
commitcc4e07d3e8405e8cdf887d840fca6dc52b9e12fe (patch)
tree57dc34bafd4533ead33ad8925072586b05f9f103 /top
parente1e8bf6b33059ff78ee9a62534032836f6ea58ce (diff)
downloadgnulib-cc4e07d3e8405e8cdf887d840fca6dc52b9e12fe.tar.gz
maintainer-makefile: Invoke syntax-checks regardless of locale.
* top/maint.mk (syntax-check-rules): Invoke sed with LANG=C environment because [a-z] may not include 'w' in all locales.
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index ee8c5ebd1e..87f65c7e0e 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 $(SED) -n \
+syntax-check-rules := $(sort $(shell env LANG=C $(SED) -n \
's/^\(sc_[a-zA-Z0-9_-]*\):.*/\1/p' $(srcdir)/$(ME) $(_cfg_mk)))
.PHONY: $(syntax-check-rules)