(compare): Add ./ in tail command.
authorRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 00:15:21 +0000 (00:15 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 29 Jul 1993 00:15:21 +0000 (00:15 +0000)
From-SVN: r5035

gcc/Makefile.in

index e269bc431618364a27ed6569d35d646bebd4ea26..647b19d2c26d23742d1b1a495e0eceb0fe4340e9 100644 (file)
@@ -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