fix color variables
This commit is contained in:
parent
790bc6cf03
commit
613c526b5e
2 changed files with 4 additions and 4 deletions
6
sf
6
sf
|
|
@ -22,20 +22,20 @@ sftw=`echo -e "\e[97m"`
|
|||
|
||||
# Internal error function
|
||||
function _sferr {
|
||||
echo -e "${sftbf}${sftred}SF PARSE ERROR${sftrst} $1"
|
||||
echo -e "${sftbf}${sftr}SF PARSE ERROR${sftrst} $1"
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Public output functions
|
||||
function sferr {
|
||||
echo -e "${sftbf}${sftred}ERROR${sftrst} $1"
|
||||
echo -e "${sftbf}${sftr}ERROR${sftrst} $1"
|
||||
if [ -z "$2" ]; then
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
function sfwarn {
|
||||
echo -e "${sftbf}${sftyellow}WARNING${sftrst} $1"
|
||||
echo -e "${sftbf}${sfty}WARNING${sftrst} $1"
|
||||
}
|
||||
|
||||
# Declare variables for parsing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue