Commit 9825189b by Richard Stallman

(compare): Add ./ in tail command.

From-SVN: r5035
parent c1ceaaa6
...@@ -1901,9 +1901,10 @@ bootstrap3: force ...@@ -1901,9 +1901,10 @@ bootstrap3: force
# Compare the object files in the current directory with those in the # Compare the object files in the current directory with those in the
# stage2 directory. # stage2 directory.
# ./ avoids bug in some versions of tail.
compare: force compare: force
for file in *.o; do \ for file in *.o; do \
tail +16c $$file > tmp-foo1; \ tail +16c ./$$file > tmp-foo1; \
tail +16c stage2/$$file > tmp-foo2 2>/dev/null \ 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); \
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment