[前][次][番号順一覧][スレッド一覧]

ruby-changes:11371

From: nobu <ko1@a...>
Date: Tue, 17 Mar 2009 15:50:39 +0900 (JST)
Subject: [ruby-changes:11371] Ruby:r22991 (trunk): * tool/ifchange: removed newer substitution syntax.

nobu	2009-03-17 15:50:33 +0900 (Tue, 17 Mar 2009)

  New Revision: 22991

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22991

  Log:
    * tool/ifchange: removed newer substitution syntax.

  Modified files:
    trunk/tool/ifchange

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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]