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

ruby-changes:43269

From: kazu <ko1@a...>
Date: Thu, 9 Jun 2016 21:10:55 +0900 (JST)
Subject: [ruby-changes:43269] kazu:r55343 (trunk): * tool/ifchange: fix timestamp error when target without directory.

kazu	2016-06-09 21:10:50 +0900 (Thu, 09 Jun 2016)

  New Revision: 55343

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55343

  Log:
    * tool/ifchange: fix timestamp error when target without directory.

  Modified files:
    trunk/ChangeLog
    trunk/tool/ifchange
Index: tool/ifchange
===================================================================
--- tool/ifchange	(revision 55342)
+++ tool/ifchange	(revision 55343)
@@ -75,7 +75,7 @@ fi https://github.com/ruby/ruby/blob/trunk/tool/ifchange#L75
 
 if [ -n "${timestamp}" ]; then
     if [ x"${timestamp}" = x. ]; then
-	if [ x"$targetdir" = x. ]; then
+	if [ x"$targetdir" = x ]; then
 	    timestamp=.time."$target"
 	else
 	    timestamp="$targetdir"/.time.`basename "$target"`
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 55342)
+++ ChangeLog	(revision 55343)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Jun  9 21:10:04 2016  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* tool/ifchange: fix timestamp error when target without
+	  directory.
+
 Thu Jun  9 19:46:22 2016  Kazuki Yamaguchi  <k@r...>
 
 	* ext/openssl/ossl_ssl.c: Add define guards for OPENSSL_NO_EC.

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

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