* aclocal.m4, tool/ifchange: make the fd explict.
  [ruby-dev:49311] [Bug #11608]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-10-20 14:40:17 +00:00
parent 96003bc9ac
commit 2bb1e93d92
2 changed files with 2 additions and 2 deletions

2
aclocal.m4 vendored
View File

@ -2,7 +2,7 @@
AC_DEFUN([_COLORIZE_RESULT_PREPARE], [ AC_DEFUN([_COLORIZE_RESULT_PREPARE], [
msg_checking= msg_result_yes= msg_result_no= msg_result_other= msg_reset= msg_checking= msg_result_yes= msg_result_no= msg_result_other= msg_reset=
AS_IF([test -t], [ AS_IF([test -t 1], [
msg_begin="`tput smso 2>/dev/null`" msg_begin="`tput smso 2>/dev/null`"
AS_CASE(["$msg_begin"], ['@<:@'*m], AS_CASE(["$msg_begin"], ['@<:@'*m],
[msg_begin="`echo "$msg_begin" | sed ['s/[0-9]*m$//']`" [msg_begin="`echo "$msg_begin" | sed ['s/[0-9]*m$//']`"

View File

@ -38,7 +38,7 @@ if [ "$temp" = - ]; then
fi fi
msg_begin= msg_unchanged= msg_updated= msg_reset= msg_begin= msg_unchanged= msg_updated= msg_reset=
if [ -t ]; 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)