From: Zac Medico Date: Tue, 18 Nov 2008 03:04:56 +0000 (-0000) Subject: include quotes when showing make output (trunk r11988) X-Git-Tag: v2.1.6_rc1~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea6c154297e7de06d3696426adb2a7155f31f16c;p=portage.git include quotes when showing make output (trunk r11988) svn path=/main/branches/2.1.6/; revision=11989 --- 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} "$@"