toaruos/util/mk-end
2012-01-18 19:52:11 -06:00

11 lines
251 B
Bash
Executable File

#!/bin/bash
. util/cpad.sh
CMD=`cpad "$1" 8 " "`
if [[ -s /tmp/.`whoami`-build-errors ]] ; then
cat /tmp/.`whoami`-build-errors
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