summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Heath <chris@heathens.co.nz>2007-10-15 17:31:50 -0400
committerCarl Worth <cworth@cworth.org>2007-11-26 21:24:48 -0800
commit2e76f8b617dfad13e16a8bad70db9ff2f8e43db4 (patch)
treed5a0d34d93cbe47afc1f72977c115184ef1e216a
parent198dc3573f2a80accd1ba0c188ea5378f5f99bc5 (diff)
downloadcairo-2e76f8b617dfad13e16a8bad70db9ff2f8e43db4.tar.gz
[autogen.sh] Tolerate tput failure (#12757)
(cherry picked from commit 189feaf352f59b0a049202552024578715ef8cc7)
-rwxr-xr-xautogen.sh4
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 "$@"