diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-03 20:41:43 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-06-03 20:41:43 -0400 |
commit | 7ca74d7636b2fcd0c307ec2b972230f25457c786 (patch) | |
tree | e03d09cd90e34dcba7afa29c0c399eb7c9a71a7f /sh | |
parent | e49da2af9165337265cb8a91293ba50c97ec1652 (diff) |
fix underquoting of wrapped color stubs of exit status
X-Gentoo-Bug: 369911
X-Gentoo-Bug-URL: http://bugs.gentoo.org/369911
Reported-by: Steve Dibb <beandog@gentoo.org>
Reported-by: Christian Ruppert <idl0r@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sh')
-rw-r--r-- | sh/functions.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/functions.sh.in b/sh/functions.sh.in index da2e51a9..ef8281e4 100644 --- a/sh/functions.sh.in +++ b/sh/functions.sh.in @@ -104,7 +104,7 @@ else # the last ecmd for _e in ebegin eend error errorn einfo einfon ewarn ewarnn ewend \ vebegin veend veinfo vewarn vewend; do - eval "$_e() { local _r; @LIBEXECDIR@/bin/$_e \"\$@\"; _r=$?; \ + eval "$_e() { local _r; @LIBEXECDIR@/bin/$_e \"\$@\"; _r=\$?; \ export EINFO_LASTCMD=$_e; return \$_r; }" done unset _e |