diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-18 01:31:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-11-18 01:31:27 +0000 |
commit | 150ca64cbb4a96f468cb69ff46855da9031a0e5f (patch) | |
tree | 33587e6abf11b5ccb865b2fbfe653f9d77fa21e0 | |
parent | a5be64b4d14817f6ee685829b827e884fd28a7b8 (diff) | |
download | portage-150ca64cbb4a96f468cb69ff46855da9031a0e5f.tar.gz portage-150ca64cbb4a96f468cb69ff46855da9031a0e5f.tar.bz2 portage-150ca64cbb4a96f468cb69ff46855da9031a0e5f.zip |
include quotes when showing make output
svn path=/main/trunk/; revision=11988
-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} "$@" |