From: Anthony Minessale Date: Fri, 21 Feb 2014 21:51:21 +0000 (-0600) Subject: make color more portable X-Git-Tag: v1.2.23~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce3b875383fef09f91dce6b32956051a14d1f3bb;p=thirdparty%2Ffreeswitch.git make color more portable --- diff --git a/build/modcheck.sh b/build/modcheck.sh index 6dad95bc65..85c2b169e1 100644 --- a/build/modcheck.sh +++ b/build/modcheck.sh @@ -19,10 +19,11 @@ files=`ls *.dylib *.so 2>/dev/null` cd $here alert() { - - /bin/echo -ne "\e[00;35m" + on='' + off='' + echo -n $on echo WARNING: $1 - /bin/echo -ne '\e[00m' + echo -n $off } for i in $files ; do