From 4fda9d1f7387eac08fa1e62b6978b5c2ad3343f2 Mon Sep 17 00:00:00 2001 From: naruse Date: Tue, 5 May 2009 02:33:02 +0000 Subject: 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 --- tool/ifchange | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') diff --git a/tool/ifchange b/tool/ifchange index 7038615d43..177ce7340b 100755 --- a/tool/ifchange +++ b/tool/ifchange @@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do timestamp=. ;; --timestamp=*) - timestamp=`expr "$1" : '[^=]*=\(.*\)'` + timestamp=`expr \( "$1" : '[^=]*=\(.*\)' \)` ;; *) break -- cgit v1.2.3