(compare*): Add "|| true" to avoid spurious failure messages from some

versions of make.

From-SVN: r10588
This commit is contained in:
Richard Kenner 1995-11-26 11:37:41 -05:00
parent bbfeb419ef
commit 63a014a083
1 changed files with 4 additions and 4 deletions

View File

@ -2385,14 +2385,14 @@ compare: force
for file in *$(objext); do \
tail +16c ./$$file > tmp-foo1; \
tail +16c stage2/$$file > tmp-foo2 2>/dev/null \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \
done
for dir in tmp-foo $(SUBDIRS); do \
if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \
for file in $$dir/*$(objext); do \
tail +16c ./$$file > tmp-foo1; \
tail +16c stage2/$$file > tmp-foo2 2>/dev/null \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \
done; \
fi; \
done
@ -2403,14 +2403,14 @@ compare3: force
for file in *$(objext); do \
tail +16c ./$$file > tmp-foo1; \
tail +16c stage3/$$file > tmp-foo2 2>/dev/null \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \
done
for dir in tmp-foo $(SUBDIRS); do \
if [ "`echo $$dir/*$(objext)`" != "$$dir/*$(objext)" ] ; then \
for file in $$dir/*$(objext); do \
tail +16c ./$$file > tmp-foo1; \
tail +16c stage3/$$file > tmp-foo2 2>/dev/null \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs) || true; \
done; \
fi; \
done