From 2e76f8b617dfad13e16a8bad70db9ff2f8e43db4 Mon Sep 17 00:00:00 2001 From: Chris Heath Date: Mon, 15 Oct 2007 17:31:50 -0400 Subject: [PATCH] [autogen.sh] Tolerate tput failure (#12757) (cherry picked from commit 189feaf352f59b0a049202552024578715ef8cc7) --- autogen.sh | 4 ++-- 1 file 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 "$@"