diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-17 06:50:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-17 06:50:33 +0000 |
commit | 929a85f60ec3f8a37ba78f0ceb69ecae75160eb5 (patch) | |
tree | 057e273a6afc680e07963c7d11a89ff57c38b588 /tool | |
parent | c5501b8b196c54780a1a49151084fc2efc44287e (diff) | |
download | ruby-929a85f60ec3f8a37ba78f0ceb69ecae75160eb5.tar.gz |
* tool/ifchange: removed newer substitution syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/ifchange | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tool/ifchange b/tool/ifchange index ca2ea40644..7038615d43 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"` ;; *) |