mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 22:48:07 +02:00
[autogen.sh] Tolerate tput failure (#12757)
This commit is contained in:
parent
4660561cb5
commit
189feaf352
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ esac
|
|||
|
||||
|
||||
# some terminal codes ...
|
||||
boldface="`tput bold 2>/dev/null`"
|
||||
normal="`tput sgr0 2>/dev/null`"
|
||||
boldface="`tput bold 2>/dev/null || true`"
|
||||
normal="`tput sgr0 2>/dev/null || true`"
|
||||
printbold() {
|
||||
echo $ECHO_N "$boldface"
|
||||
echo "$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue