mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
maint: run strftime syntax check on newer systems
* cfg.mk (sc_strftime_check): Adjust regex to handle newer glibc info formatting with different indentation and quoting.
This commit is contained in:
1 parent
840da8a7c6
commit
f43c072a04
1 file changed
+2
-2
@@ -336,8 +336,8 @@ sc_strftime_check:
|
||||
grep '^ %. ' $(srcdir)/src/date.c | sort \
|
||||
| $(extract_char) > $@-src; \
|
||||
{ echo N; \
|
||||
info libc date calendar format 2>/dev/null|grep '^ `%.'\'\
|
||||
| $(extract_char); } | sort > $@-info; \
|
||||
info libc date calendar format 2>/dev/null \
|
||||
| grep "^ *['\`]%.'$$"| $(extract_char); }| sort >$@-info;\
|
||||
if test $$(stat --format %s $@-info) != 2; then \
|
||||
diff -u $@-src $@-info || exit 1; \
|
||||
else \
|
||||
|
||||
Reference in new issue
Block a user