diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-22 13:53:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-22 13:53:01 +0000 |
commit | 879e1420592cb8f6fee7cc0be336b8506ad63a6e (patch) | |
tree | 17ca0cdaae6d3444efb3973098fd538ba52b1e14 /tool/ifchange | |
parent | 5dd0e54414f01c4a310ce469b016d53104c543da (diff) | |
download | ruby-879e1420592cb8f6fee7cc0be336b8506ad63a6e.tar.gz |
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-x | tool/ifchange | 2 |
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$//'`" |