From 35957b7690f3c6a86f99413d8cdfcd4547325a68 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 22 Oct 2015 13:53:01 +0000 Subject: [PATCH] ifchange: ignore error * tool/ifchange: do not exit by -e even if tput failed. [ruby-core:71143] [Bug #11611] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/ifchange | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/ifchange b/tool/ifchange index 837dd4dd16..7d7b377be7 100755 --- a/tool/ifchange +++ b/tool/ifchange @@ -39,7 +39,7 @@ fi msg_begin= msg_unchanged= msg_updated= msg_reset= if [ -t 1 ]; then - msg_begin="`tput smso 2>/dev/null`" + msg_begin="`tput smso 2>/dev/null`" || : case "$msg_begin" in ""*m) msg_begin="`echo "$msg_begin" | sed 's/[0-9]*m$//'`"