1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-10-22 13:53:01 +00:00
parent f4c487173c
commit 35957b7690

View file

@ -39,7 +39,7 @@ fi
msg_begin= msg_unchanged= msg_updated= msg_reset= msg_begin= msg_unchanged= msg_updated= msg_reset=
if [ -t 1 ]; then if [ -t 1 ]; then
msg_begin="`tput smso 2>/dev/null`" msg_begin="`tput smso 2>/dev/null`" || :
case "$msg_begin" in case "$msg_begin" in
""*m) ""*m)
msg_begin="`echo "$msg_begin" | sed 's/[0-9]*m$//'`" msg_begin="`echo "$msg_begin" | sed 's/[0-9]*m$//'`"