зеркало из https://github.com/github/ruby.git
* 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:
Родитель
c5501b8b19
Коммит
929a85f60e
|
@ -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"`
|
||||
;;
|
||||
*)
|
||||
|
|
Загрузка…
Ссылка в новой задаче