From 7ca74d7636b2fcd0c307ec2b972230f25457c786 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 3 Jun 2011 20:41:43 -0400 Subject: 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 Reported-by: Christian Ruppert Signed-off-by: Mike Frysinger --- sh/functions.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/functions.sh.in') 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 -- cgit v1.2.3