From: Paul Eggert Date: Thu, 27 Jun 2002 01:28:07 +0000 (+0000) Subject: (maintainer-check): Don't assume that egrep exists; X-Git-Tag: Release-1-6b~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85953e2688884aeb1b527ed0ece587e2f77f8d33;p=thirdparty%2Fautomake.git (maintainer-check): Don't assume that egrep exists; this fixes a portability bug introduced in the 2002-06-08 fix for PR automake/317. --- diff --git a/Makefile.am b/Makefile.am index ee2107c3b..2237821d1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -94,7 +94,7 @@ maintainer-check: automake aclocal ## Never use something like `for file in $(FILES)', this doesn't work ## if FILES is empty or if it contains shell meta characters (e.g. $ is ## commonly used in Java filenames). - @if egrep 'for .* in \$$\(' $(srcdir)/lib/am/[a-z]*.am; then \ + @if grep 'for .* in \$$(' $(srcdir)/lib/am/[a-z]*.am; then \ echo 'Use "list=$$(mumble); for var in $$$$list".' 1>&2 ; \ exit 1; \ else :; fi