From 929a85f60ec3f8a37ba78f0ceb69ecae75160eb5 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 17 Mar 2009 06:50:33 +0000 Subject: * tool/ifchange: removed newer substitution syntax. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/ifchange | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tool/ifchange') 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"` ;; *) -- cgit v1.2.3