Fix: raised error on tool/ifchange.

* tool/ifchange: Fix: arguments which begin with minus sign may
  parsed as options.  Because of older systems, don't use --
  but use parentheses.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-05-05 02:33:02 +00:00
Родитель 4f364c6bf7
Коммит 4fda9d1f73
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Tue May 5 11:29:07 2009 NARUSE, Yui <naruse@ruby-lang.org>
* tool/ifchange: Fix: arguments which begin with minus sign may
parsed as options. Because of older systems, don't use --
but use parentheses.
Tue May 5 10:42:28 2009 NARUSE, Yui <naruse@ruby-lang.org>
* ext/json: Update to JSON 1.1.4.

Просмотреть файл

@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
timestamp=.
;;
--timestamp=*)
timestamp=`expr "$1" : '[^=]*=\(.*\)'`
timestamp=`expr \( "$1" : '[^=]*=\(.*\)' \)`
;;
*)
break