summaryrefslogtreecommitdiff
path: root/tool/ifchange
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 04:33:52 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-17 04:33:52 +0000
commit4c68aa718dee39d514aaa042d0e8108fea293d3f (patch)
treefd2ccb234383e56442f60bf9920661531ade4d6f /tool/ifchange
parent17be9e97193bd02b439081033db7098f87d1282a (diff)
* tool/ifchange (until): Fix the condition, although harmless in
this case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/ifchange')
-rwxr-xr-xtool/ifchange2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/ifchange b/tool/ifchange
index c54b8fb..5695e5a 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -4,7 +4,7 @@
set -e
timestamp=
keepsuffix=
-until [ "$0" = 0 ]; do
+until [ $# -eq 0 ]; do
case "$1" in
--timestamp)
timestamp=.