Use fgrep instead of grep to avoid treating filenames as regular expressions.

grep found debugio.o when looking for debug.o and said there was a
filename conflict incorrectly.
This commit is contained in:
Joel Sherrill
1999-05-28 16:10:05 +00:00
parent 403d7b188f
commit 8f2cb41c02
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ $(ARCH)/check:: $(SRCS)
*.a) \
( list=`$(AR) t $$f`;\
for i in $$list; do \
if grep " $$i" $@; then \
if fgrep " $$i" $@; then \
echo "ERROR -- $$i in multiple files"; exit 1; \
fi;\
echo " $$i" >> $@;\

View File

@@ -55,7 +55,7 @@ $(ARCH)/check:: $(SRCS)
*.a) \
( list=`$(AR) t $$f`;\
for i in $$list; do \
if grep " $$i" $@; then \
if fgrep " $$i" $@; then \
echo "ERROR -- $$i in multiple files"; exit 1; \
fi;\
echo " $$i" >> $@;\