]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: improve ERE in sc_tests_list_consistency
authorBernhard Voelker <mail@bernhard-voelker.de>
Sat, 1 Jun 2024 14:00:30 +0000 (16:00 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Sat, 1 Jun 2024 14:59:07 +0000 (16:59 +0200)
commitbbc972bc827aa5b34fce697ed79a36c70c4fabe3
treef4f5caf74cd2cc5b2ccc6e2b9e6a15982293af07
parent3ce31e6f190b3f9152825ed74999d8bc4c0454dd
maint: improve ERE in sc_tests_list_consistency

The ERE used lacks the grouping of the extensions and therefore would
also match files where the first two patterns are not at the end of
the line:
  grep -E '\.sh|\.pl|\.xpl$'

* cfg.mk (sc_tests_list_consistency): Add grouping (...) around the
sub-patterns.  While at it, also remove the redundant escaping, i.e.,
\$$ -> $$ to be consistent with the rest of this file.
cfg.mk