1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

modify the colorful bash for osx.

This commit is contained in:
winlin 2015-03-09 23:20:12 +08:00
parent b0953c1d3a
commit 20fb5f3e8e

View file

@ -4,11 +4,11 @@
####################################### #######################################
# color echo. # color echo.
####################################### #######################################
RED="\\e[31m" RED="\\033[31m"
GREEN="\\e[32m" GREEN="\\033[32m"
YELLOW="\\e[33m" YELLOW="\\033[33m"
BLACK="\\e[0m" BLACK="\\033[0m"
POS="\\e[103G" POS="\\033[103G"
# if need to log to file, change the log path. # if need to log to file, change the log path.
if [[ ! $log ]]; then if [[ ! $log ]]; then