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:
parent
f4c487173c
commit
35957b7690
1 changed files with 1 additions and 1 deletions
|
@ -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$//'`"
|
||||||
|
|
Loading…
Reference in a new issue