summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-17 06:50:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-17 06:50:33 +0000
commit929a85f60ec3f8a37ba78f0ceb69ecae75160eb5 (patch)
tree057e273a6afc680e07963c7d11a89ff57c38b588
parentc5501b8b196c54780a1a49151084fc2efc44287e (diff)
* tool/ifchange: removed newer substitution syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-xtool/ifchange3
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/ifchange b/tool/ifchange
index ca2ea40644d..7038615d439 100755
--- a/tool/ifchange
+++ b/tool/ifchange
@@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
timestamp=.
;;
--timestamp=*)
- timestamp="${1#*=}" || timestamp=`expr "$1" : '[^=]*=\(.*\)'`
+ timestamp=`expr "$1" : '[^=]*=\(.*\)'`
;;
*)
break
@@ -37,7 +37,6 @@ if [ -n "${timestamp}" ]; then
if [ x"${timestamp}" = x. ]; then
case "$target" in
*/*)
- timestamp="${target%/*}"/.time."${target##*/}" ||
timestamp=`dirname "$target"`/.time.`basename "$target"`
;;
*)