summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-04-07 11:43:14 +0200
committerJim Meyering <meyering@redhat.com>2010-04-07 11:43:14 +0200
commit0c6d7eea33394375e0e794e72c7896508645f426 (patch)
tree16212b2d08235250a67bf98cd7381a2c4be8746e /cfg.mk
parentfe2d46d4aaa79e15d2df24ae387c032858982c3f (diff)
downloaddiffutils-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.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 83db3a1..338bed8 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -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" \