barbieri pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=36d542f84e4c27134a0ac2237b0dcd3e18a4d91d

commit 36d542f84e4c27134a0ac2237b0dcd3e18a4d91d
Author: Gustavo Sverzut Barbieri <[email protected]>
Date:   Fri Mar 14 11:50:10 2014 -0300

    m4/ac-plugins: evaluate color escape so it works everywhere.
    
    the color escapes were being evaluated only on "echo -e", but we're
    using it in "cat" statements as well. Then evaluate the color escape
    so it will work everywhere.
---
 m4/ac-plugins.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/ac-plugins.m4 b/m4/ac-plugins.m4
index 82c2e2f..62021cd 100644
--- a/m4/ac-plugins.m4
+++ b/m4/ac-plugins.m4
@@ -3,7 +3,7 @@ define([_XTERM_COLORS],
 [
         # Check for XTerm and define some colors
         if test "x$TERM" = "xxterm" -o "x$TERM" = "xscreen"; then
-                COLOR_PREF="\0033\0133"
+                COLOR_PREF=`echo -e "\0033\0133"`
                 COLOR_H="${COLOR_PREF}1m"
                 COLOR_HGREEN="${COLOR_PREF}1;32m"
                 COLOR_HRED="${COLOR_PREF}1;31m"

-- 


Reply via email to