(install-cross-tools): When handling $(tooldir)/include,

do all cd's starting from build directory.

From-SVN: r2624
This commit is contained in:
Richard Stallman 1992-10-27 22:30:59 +00:00
parent fa37b3fc16
commit c5bf1a720b
1 changed files with 1 additions and 1 deletions

View File

@ -1397,7 +1397,7 @@ install-cross-tools: install-dir
if [ -d $(tooldir)/include/. ] ; then \
$(SYMLINK) $(tooldir)/include $(libsubdir)/sys-include \
|| (if [ -d $(libsubdir)/sys-include ] ; then true ; else mkdir $(libsubdir)/sys-include ; fi; \
cd $(tooldir)/include; tar cf - . | (cd $(libsubdir)/sys-include; tar xpf -)); \
(cd $(tooldir)/include; tar cf - .) | (cd $(libsubdir)/sys-include; tar xpf -); \
else true; fi; \
else true; \
fi; \