summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-09 12:10:50 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-09 12:10:50 +0000
commitc01e473863fa62e2c781f863fdd1bc9c5cba1566 (patch)
tree13c383256ff5c43f9a5d184284cbe9d7858a11d6
parentdd05607f9a76ebab24fe7cf720bda102a81e5b0d (diff)
* 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
-rw-r--r--ChangeLog5
-rwxr-xr-xtool/ifchange2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f72913e6fb..14822e07b33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 9 21:10:04 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
+
+ * tool/ifchange: fix timestamp error when target without
+ directory.
+
Thu Jun 9 19:46:22 2016 Kazuki Yamaguchi <k@rhe.jp>
* ext/openssl/ossl_ssl.c: Add define guards for OPENSSL_NO_EC.
diff --git a/tool/ifchange b/tool/ifchange
index 8603306cdb3..cc630b0c993 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"`