summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emake11
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/emake b/bin/emake
index db5b30b59..18d8f089c 100755
--- a/bin/emake
+++ b/bin/emake
@@ -11,6 +11,15 @@
# /etc/make.globals here because emake is only called from an
# ebuild.
-[[ $PORTAGE_QUIET = 1 ]] || echo ${MAKE:-make} $MAKEOPTS $EXTRA_EMAKE "$@" >&2
+if [[ $PORTAGE_QUIET != 1 ]] ; then
+ (
+ for arg in ${MAKE:-make} $MAKEOPTS $EXTRA_EMAKE "$@" ; do
+ [[ ${arg} == *" "* ]] \
+ && printf "'%s' " "${arg}" \
+ || printf "%s " "${arg}"
+ done
+ printf "\n"
+ ) >&2
+fi
exec ${MAKE:-make} ${MAKEOPTS} ${EXTRA_EMAKE} "$@"