diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-11-18 03:29:07 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-11-18 03:38:29 +0000 |
commit | f43c072a04ba881debf35ccdb509ee0a145b255c (patch) | |
tree | ef363a4ca6d6d993689ceeeadb254da1b5385fbf | |
parent | 840da8a7c684ee3cf89394435185a978a910b026 (diff) | |
download | coreutils-f43c072a04ba881debf35ccdb509ee0a145b255c.tar.xz |
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.
-rw-r--r-- | cfg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |