When echoing the emake command, redirect to stderr since otherwise it breaks
authorZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 10:51:13 +0000 (10:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 1 Nov 2008 10:51:13 +0000 (10:51 -0000)
the gcc ebuild because of the way that the get_make_var() function from
toolchain.eclass is used.

svn path=/main/trunk/; revision=11784

bin/emake

index e484b4de9df02bd6afb48ffb9b89df25c3bba2f1..db5b30b5942238c4f4c39a9b94a0ad5ec9ddbf2a 100755 (executable)
--- a/bin/emake
+++ b/bin/emake
@@ -11,6 +11,6 @@
 #        /etc/make.globals here because emake is only called from an
 #        ebuild.
 
-[[ $PORTAGE_QUIET = 1 ]] || echo ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"
+[[ $PORTAGE_QUIET = 1 ]] || echo ${MAKE:-make} $MAKEOPTS $EXTRA_EMAKE "$@" >&2
 
 exec ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"