Avoid tr '\n', for Solaris /usr/bin/tr.

contrib/
	* check_warning_flags.sh: Use \012 instead of \n with tr.

gcc/:
	PR gcc/42525
	* Makefile.in (write_entries_to_file, install-plugin):
	Use \012 instead of \n with tr.

libjava/:
	* Makefile.am (write_entries_to_file): Use \012 instead of \n
	with tr.
	* scripts/makemake.tcl: Likewise.
	* sources.am: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r155963
This commit is contained in:
Ralf Wildenhues
2010-01-16 14:42:32 +00:00
committed by Ralf Wildenhues
parent 636cf8b1f9
commit 2fdb618d66
9 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -357,7 +357,7 @@ proc emit_package_rule_to_list {package package_files_list} {
# Object and Class are special cases due to an apparent compiler
# bug. Process is a special case because we don't build all
# concrete implementations of Process on all platforms.
set omit "| tr ' ' '\\n' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '\(Ecos\|Posix\|Win32\)Process' "
set omit "| tr ' ' '\\012' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '\(Ecos\|Posix\|Win32\)Process' "
} else {
set omit ""
}