Commit ef824e2f authored by Vitaly Lipatov's avatar Vitaly Lipatov

common: ignore missed csed

parent 0d939078
......@@ -14,10 +14,17 @@ realpath()
}
fi
if ! which csed 2>/dev/null >/dev/null ; then
colorify()
{
csed '/(warning|WARNING|Warning|предупреждение):/ p magenta,bold' '/(error|ERROR|Error|ошибка):/ p red,bold' '/(Command not found):/ p red,bold'
}
else
colorify()
{
cat
}
fi
print_message()
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment