From 20fb5f3e8ed88ed6155821a5ebb7a03b5fafe1e7 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 9 Mar 2015 23:20:12 +0800 Subject: [PATCH] modify the colorful bash for osx. --- trunk/scripts/_log.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/trunk/scripts/_log.sh b/trunk/scripts/_log.sh index 89453aadd..8990c0b80 100755 --- a/trunk/scripts/_log.sh +++ b/trunk/scripts/_log.sh @@ -4,11 +4,11 @@ ####################################### # color echo. ####################################### -RED="\\e[31m" -GREEN="\\e[32m" -YELLOW="\\e[33m" -BLACK="\\e[0m" -POS="\\e[103G" +RED="\\033[31m" +GREEN="\\033[32m" +YELLOW="\\033[33m" +BLACK="\\033[0m" +POS="\\033[103G" # if need to log to file, change the log path. if [[ ! $log ]]; then