From 85953e2688884aeb1b527ed0ece587e2f77f8d33 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 27 Jun 2002 01:28:07 +0000 Subject: [PATCH] (maintainer-check): Don't assume that egrep exists; this fixes a portability bug introduced in the 2002-06-08 fix for PR automake/317. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index ee2107c..2237821 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 -- 2.7.4