mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
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:
@@ -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" >> $@;\
|
||||
|
||||
@@ -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" >> $@;\
|
||||
|
||||
Reference in New Issue
Block a user