aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-07-29 00:15:21 +0000
committerRichard Stallman <rms@gnu.org>1993-07-29 00:15:21 +0000
commit9825189b2eee77d5851773be490af87fae2252c5 (patch)
tree778ba3b28714dfc7b8c50f3e476fc7c21e446f79 /gcc
parentc1ceaaa6f282cfde4ec4ebd91ef3630934da1993 (diff)
downloadgcc-9825189b2eee77d5851773be490af87fae2252c5.zip
gcc-9825189b2eee77d5851773be490af87fae2252c5.tar.gz
gcc-9825189b2eee77d5851773be490af87fae2252c5.tar.bz2
(compare): Add ./ in tail command.
From-SVN: r5035
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index e269bc4..647b19d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1901,9 +1901,10 @@ bootstrap3: force
# Compare the object files in the current directory with those in the
# stage2 directory.
+# ./ avoids bug in some versions of tail.
compare: force
for file in *.o; do \
- tail +16c $$file > tmp-foo1; \
+ tail +16c ./$$file > tmp-foo1; \
tail +16c stage2/$$file > tmp-foo2 2>/dev/null \
&& (cmp tmp-foo1 tmp-foo2 || echo $$file differs); \
done