2011-10-28 02:39:40 +04:00
|
|
|
#!/bin/bash
|
2012-01-26 03:07:42 +04:00
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
. "$DIR/cpad.sh"
|
2011-10-28 02:39:40 +04:00
|
|
|
|
|
|
|
CMD=`cpad "$1" 8 " "`
|
2012-01-19 05:52:11 +04:00
|
|
|
if [[ -s /tmp/.`whoami`-build-errors ]] ; then
|
|
|
|
cat /tmp/.`whoami`-build-errors
|
2011-10-28 02:39:40 +04:00
|
|
|
echo -e -n "\r\033[1;33m${CMD}${2}\033[0m\n"
|
|
|
|
else
|
|
|
|
echo -e -n "\r\033[A\033[1;32m${CMD}${2}\033[0m\033[K\n"
|
|
|
|
fi
|