OSDN Git Service

Avoid tr '\n', for Solaris /usr/bin/tr.
[pf3gnuchains/gcc-fork.git] / gcc / Makefile.in
index 2ff27d5..d6a57c4 100644 (file)
@@ -290,7 +290,7 @@ write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
             echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
          $(shell echo "$(wordlist $(range), \
                          $(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
-            | tr ' ' '\n' >> $(2)))
+            | tr ' ' '\012' >> $(2)))
 
 # --------
 # UNSORTED
@@ -4289,7 +4289,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars
 # We keep the directory structure for files in config and .def files. All
 # other files are flattened to a single directory.
        $(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
-       headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\n' | sort -u`; \
+       headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
        srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
        for file in $$headers; do \
          if [ -f $$file ] ; then \