summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-05 02:33:02 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-05 02:33:02 +0000
commit4fda9d1f7387eac08fa1e62b6978b5c2ad3343f2 (patch)
treebb18b113bd473266c11bb540a4cd3847feef3942 /tool
parent4f364c6bf7f5bcc064b5a12b235fd63b200359a0 (diff)
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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/ifchange2
1 files changed, 1 insertions, 1 deletions
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