diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-20 14:40:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-20 14:40:17 +0000 |
commit | 1ae0bee23a4d9f62bba33f9609ea9e3a5926ab6e (patch) | |
tree | 88d76322b96976bd1b1f8706ae58233ea64b03a9 /tool | |
parent | 793231469e4593598e19013a6e8da6058c40987a (diff) | |
download | ruby-1ae0bee23a4d9f62bba33f9609ea9e3a5926ab6e.tar.gz |
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
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/ifchange | 2 |
1 files changed, 1 insertions, 1 deletions
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) |