Permalink
Browse files

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
  • Loading branch information...
1 parent 4f364c6 commit 4fda9d1f7387eac08fa1e62b6978b5c2ad3343f2 @nurse nurse committed May 5, 2009
Showing with 7 additions and 1 deletion.
  1. +6 −0 ChangeLog
  2. +1 −1 tool/ifchange
View
@@ -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.
View
@@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
timestamp=.
;;
--timestamp=*)
- timestamp=`expr "$1" : '[^=]*=\(.*\)'`
+ timestamp=`expr \( "$1" : '[^=]*=\(.*\)' \)`
;;
*)
break

0 comments on commit 4fda9d1

Please sign in to comment.