diff options
author | Chris Heath <chris@heathens.co.nz> | 2007-10-15 17:31:50 -0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-11-26 21:24:48 -0800 |
commit | 2e76f8b617dfad13e16a8bad70db9ff2f8e43db4 (patch) | |
tree | d5a0d34d93cbe47afc1f72977c115184ef1e216a | |
parent | 198dc3573f2a80accd1ba0c188ea5378f5f99bc5 (diff) | |
download | cairo-2e76f8b617dfad13e16a8bad70db9ff2f8e43db4.tar.gz |
[autogen.sh] Tolerate tput failure (#12757)
(cherry picked from commit 189feaf352f59b0a049202552024578715ef8cc7)
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index 73455ef15..4253a918d 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 "$@" |