From c01e473863fa62e2c781f863fdd1bc9c5cba1566 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 9 Jun 2016 12:10:50 +0000 Subject: [PATCH] * tool/ifchange: fix timestamp error when target without directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ tool/ifchange | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f72913e6f..14822e07b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 9 21:10:04 2016 Kazuhiro NISHIYAMA + + * tool/ifchange: fix timestamp error when target without + directory. + Thu Jun 9 19:46:22 2016 Kazuki Yamaguchi * ext/openssl/ossl_ssl.c: Add define guards for OPENSSL_NO_EC. diff --git a/tool/ifchange b/tool/ifchange index 8603306cdb..cc630b0c99 100755 --- a/tool/ifchange +++ b/tool/ifchange @@ -75,7 +75,7 @@ fi 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"`