summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/ifchange2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d42ec41428..0c8e5a6929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jun 17 13:04:01 2013 Akinori MUSHA <knu@iDaemons.org>
+
+ * tool/ifchange (until): Fix the condition, although harmless in
+ this case.
+
Mon Jun 17 11:50:29 2013 Koichi Sasada <ko1@atdot.net>
* gc.c (gc_mark_maybe): added. check `is_pointer_to_heap()' and
diff --git a/tool/ifchange b/tool/ifchange
index c54b8fbb03..5695e5a9b8 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=.