提交 a0e6e471 编写于 作者: G Ganesh Ajjanagadde 提交者: Michael Niedermayer

configure: silence error if tput not found

If tput is not found for colorizing, error message should be squashed.
Signed-off-by: NGanesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 fd9ac48d
......@@ -418,7 +418,7 @@ EOF
}
quotes='""'
if test -t 1 && which tput >/dev/null; then
if test -t 1 && which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
if test -n "$ncolors" && test $ncolors -ge 8; then
bold_color=$(tput bold)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册