summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-05-27 13:43:07 +0000
committerJim Meyering <jim@meyering.net>2006-05-27 13:43:07 +0000
commit35e7e45ccdbdbf71c08b24d8c460d75daadda8e3 (patch)
treeeeceee9b2c8993415f41bf6feace4035767ea355 /doc
parentff2009280ea6aadd5f61fbddd0cbbbe911b60bd0 (diff)
downloadcoreutils-35e7e45ccdbdbf71c08b24d8c460d75daadda8e3.tar.xz
(check-texinfo): Use literal `{' only in brackets, i.e., [{] or [}],
to avoid triggering an error from Solaris 2.6's grep.
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 74ff5c895..b9f099550 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -40,14 +40,14 @@ check-texinfo:
$(EGREP) '$(_W)NUL$(W_)' $(srcdir)/*.texi && fail=1; \
grep '\$$@"' $(srcdir)/*.texi && fail=1; \
grep -n '[^[:punct:]]@footnote' $(srcdir)/*.texi && fail=1; \
- grep -n filename $(srcdir)/*.texi|$(EGREP) -v 'setfilename|{filename}' \
+ grep -n filename $(srcdir)/*.texi|$(EGREP) -v 'setfilename|[{]filename[}]' \
&& fail=1; \
$(PERL) -e 1 2> /dev/null && { $(PERL) -ne \
'/\bPOSIX\b/ && !/\@acronym{POSIX}/ && !/^\* / || /{posix}/ and print,exit 1' \
$(srcdir)/*.texi 2> /dev/null || fail=1; }; \
$(EGREP) -iw 'builtins?' $(srcdir)/*.texi && fail=1; \
$(EGREP) -iw 'path(name)?s?' $(srcdir)/*.texi \
- | $(EGREP) -v '@vindex PATH$$|@env{PATH}' && fail=1; \
+ | $(EGREP) -v '@vindex PATH$$|@env[{]PATH[}]' && fail=1; \
exit $$fail
check: check-texinfo