summaryrefslogtreecommitdiff
path: root/tool/ifchange
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-22 13:53:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-22 13:53:01 +0000
commit35957b7690f3c6a86f99413d8cdfcd4547325a68 (patch)
tree17ca0cdaae6d3444efb3973098fd538ba52b1e14 /tool/ifchange
parentf4c487173cd0c09993a51f684d8ae7e031b3f302 (diff)
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
Diffstat (limited to 'tool/ifchange')
-rwxr-xr-xtool/ifchange2
1 files changed, 1 insertions, 1 deletions
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$//'`"