diff options
author | Jim Meyering <meyering@redhat.com> | 2010-04-07 11:43:14 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-07 11:43:14 +0200 |
commit | 0c6d7eea33394375e0e794e72c7896508645f426 (patch) | |
tree | 16212b2d08235250a67bf98cd7381a2c4be8746e /cfg.mk | |
parent | fe2d46d4aaa79e15d2df24ae387c032858982c3f (diff) | |
download | diffutils-0c6d7eea33394375e0e794e72c7896508645f426.tar.gz |
tests: make new PATH-crosschecking syntax-check tighter
* cfg.mk (sc_cross_check_PATH_usage_in_tests): Use grep's -x (match
entire line) option with -F.
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -76,7 +76,7 @@ sc_cross_check_PATH_usage_in_tests: @if grep -l 'VERSION mismatch' $(_hv_file) >/dev/null \ && grep -lE '$(_hv_regex)' $(_hv_file) >/dev/null; then \ good=$$(grep -E '$(_hv_regex)' < $(_hv_file)); \ - grep -LF "$$good" \ + grep -LFx "$$good" \ $$(grep -lE '$(_hv_regex)' $$($(VC_LIST_EXCEPT))) \ | grep . && \ { echo "$(ME): the above files use path_prepend_ inconsistently" \ |