Commit c5bf1a72 by Richard Stallman

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

do all cd's starting from build directory.

From-SVN: r2624
parent fa37b3fc
...@@ -1397,7 +1397,7 @@ install-cross-tools: install-dir ...@@ -1397,7 +1397,7 @@ install-cross-tools: install-dir
if [ -d $(tooldir)/include/. ] ; then \ if [ -d $(tooldir)/include/. ] ; then \
$(SYMLINK) $(tooldir)/include $(libsubdir)/sys-include \ $(SYMLINK) $(tooldir)/include $(libsubdir)/sys-include \
|| (if [ -d $(libsubdir)/sys-include ] ; then true ; else mkdir $(libsubdir)/sys-include ; fi; \ || (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; \
else true; \ else true; \
fi; \ fi; \
......
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