diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-11-18 03:04:56 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-11-18 03:04:56 +0000 |
commit | ea6c154297e7de06d3696426adb2a7155f31f16c (patch) | |
tree | 8c6214a84c755b8e721e3feb86bf42bb235479a5 | |
parent | 0d1a4f6327037cb58017594c983bdc73ce8c591f (diff) | |
download | portage-ea6c154297e7de06d3696426adb2a7155f31f16c.tar.gz portage-ea6c154297e7de06d3696426adb2a7155f31f16c.tar.bz2 portage-ea6c154297e7de06d3696426adb2a7155f31f16c.zip |
include quotes when showing make output (trunk r11988)
svn path=/main/branches/2.1.6/; revision=11989
-rwxr-xr-x | bin/emake | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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} "$@" |