From 35e7e45ccdbdbf71c08b24d8c460d75daadda8e3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 27 May 2006 13:43:07 +0000 Subject: (check-texinfo): Use literal `{' only in brackets, i.e., [{] or [}], to avoid triggering an error from Solaris 2.6's grep. --- doc/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3-70-g09d2