automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automake patch to not assume egrep


From: Paul Eggert
Subject: Automake patch to not assume egrep
Date: Wed, 26 Jun 2002 18:29:51 -0700 (PDT)

I just checked in this patch to remove an "egrep" that snuck back into
the Automake sources recently.

2002-06-26  Paul Eggert  <address@hidden>

        * Makefile.am (maintainer-check): Don't assume that egrep exists;
        this fixes a portability bug introduced in the 2002-06-08 fix for
        PR automake/317.

Index: Makefile.am
===================================================================
RCS file: /cvs/automake/automake/Makefile.am,v
retrieving revision 1.196
retrieving revision 1.197
diff -p -u -r1.196 -r1.197
--- Makefile.am 26 Jun 2002 08:15:17 -0000      1.196
+++ Makefile.am 27 Jun 2002 01:28:07 -0000      1.197
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]