1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* tool/ifchange: removed newer substitution syntax.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-03-17 06:50:33 +00:00
parent c5501b8b19
commit 929a85f60e

View file

@ -8,7 +8,7 @@ until [ "$0" = 0 ]; do
timestamp=. timestamp=.
;; ;;
--timestamp=*) --timestamp=*)
timestamp="${1#*=}" || timestamp=`expr "$1" : '[^=]*=\(.*\)'` timestamp=`expr "$1" : '[^=]*=\(.*\)'`
;; ;;
*) *)
break break
@ -37,7 +37,6 @@ if [ -n "${timestamp}" ]; then
if [ x"${timestamp}" = x. ]; then if [ x"${timestamp}" = x. ]; then
case "$target" in case "$target" in
*/*) */*)
timestamp="${target%/*}"/.time."${target##*/}" ||
timestamp=`dirname "$target"`/.time.`basename "$target"` timestamp=`dirname "$target"`/.time.`basename "$target"`
;; ;;
*) *)