mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
4f364c6bf7
commit
4fda9d1f73
2 changed files with 7 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
|
|||
timestamp=.
|
||||
;;
|
||||
--timestamp=*)
|
||||
timestamp=`expr "$1" : '[^=]*=\(.*\)'`
|
||||
timestamp=`expr \( "$1" : '[^=]*=\(.*\)' \)`
|
||||
;;
|
||||
*)
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue