mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-03-28 20:20:43 +01:00
[autogen.sh] Tolerate tput failure (#12757)
(cherry picked from commit 189feaf352)
This commit is contained in:
parent
198dc3573f
commit
2e76f8b617
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