ruby-changes:11705
From: naruse <ko1@a...>
Date: Tue, 5 May 2009 11:33:20 +0900 (JST)
Subject: [ruby-changes:11705] Ruby:r23347 (trunk): Fix: raised error on tool/ifchange.
naruse 2009-05-05 11:33:02 +0900 (Tue, 05 May 2009) New Revision: 23347 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23347 Log: 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. Modified files: trunk/ChangeLog trunk/tool/ifchange Index: ChangeLog =================================================================== --- ChangeLog (revision 23346) +++ ChangeLog (revision 23347) @@ -1,3 +1,9 @@ +Tue May 5 11:29:07 2009 NARUSE, Yui <naruse@r...> + + * 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@r...> * ext/json: Update to JSON 1.1.4. Index: tool/ifchange =================================================================== --- tool/ifchange (revision 23346) +++ tool/ifchange (revision 23347) @@ -8,7 +8,7 @@ timestamp=. ;; --timestamp=*) - timestamp=`expr "$1" : '[^=]*=\(.*\)'` + timestamp=`expr \( "$1" : '[^=]*=\(.*\)' \)` ;; *) break -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/