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:
parent
c5501b8b19
commit
929a85f60e
1 changed files with 1 additions and 2 deletions
|
@ -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"`
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Add table
Reference in a new issue