make color more portable

This commit is contained in:
Anthony Minessale 2014-02-21 15:51:21 -06:00
parent 159f577b7f
commit 0c1f6ef2ed
1 changed files with 4 additions and 3 deletions

View File

@ -19,10 +19,11 @@ files=`ls *.dylib *.so 2>/dev/null`
cd $here cd $here
alert() { alert() {
on=''
/bin/echo -ne "\e[00;35m" off=''
echo -n $on
echo WARNING: $1 echo WARNING: $1
/bin/echo -ne '\e[00m' echo -n $off
} }
for i in $files ; do for i in $files ; do