From 2bb1e93d92b9524dae4f6aedb2a7b4f8c0e513f7 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 20 Oct 2015 14:40:17 +0000 Subject: test -t * 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 --- tool/ifchange | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool/ifchange') diff --git a/tool/ifchange b/tool/ifchange index 6a1923c167..837dd4dd16 100755 --- a/tool/ifchange +++ b/tool/ifchange @@ -38,7 +38,7 @@ if [ "$temp" = - ]; then fi msg_begin= msg_unchanged= msg_updated= msg_reset= -if [ -t ]; then +if [ -t 1 ]; then msg_begin="`tput smso 2>/dev/null`" case "$msg_begin" in ""*m) -- cgit v1.2.1