[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Don't assume grep handles -e in lib/freeze.mk
From: |
Albert Chin |
Subject: |
Don't assume grep handles -e in lib/freeze.mk |
Date: |
Thu, 18 Mar 2004 11:50:33 -0600 |
User-agent: |
Mutt/1.4i |
On Solaris, grep doesn't handle -e. Patch against HEAD.
--
albert chin (address@hidden)
-- snip snip
2004-03-18 Albert Chin-A-Young <address@hidden>
* lib/freeze.mk: Don't assume grep handles -e. On Solaris,
grep does not.
Index: lib/freeze.mk
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/freeze.mk,v
retrieving revision 1.9
diff -u -3 -p -r1.9 freeze.mk
--- lib/freeze.mk 27 Oct 2002 18:16:06 -0000 1.9
+++ lib/freeze.mk 18 Mar 2004 17:48:45 -0000
@@ -119,7 +119,7 @@ ETAGS_FOR_AUTOCONF = \
check-forbidden-patterns:
if (cd $(srcdir) && \
- grep $(forbidden_patterns) $(forbidden_patterns_files)) \
+ egrep $(forbidden_patterns) $(forbidden_patterns_files)) \
>forbidden.log; then \
echo "ERROR: forbidden patterns were found:" >&2; \
sed "s,^,$*.m4: ," <forbidden.log >&2; \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Don't assume grep handles -e in lib/freeze.mk,
Albert Chin <=