aboutsummaryrefslogtreecommitdiffstats
path: root/tool
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
commit893053b1584f48adec6c940651393d49a9a41a30 (patch)
tree13c383256ff5c43f9a5d184284cbe9d7858a11d6 /tool
parentafcad182c9db0ea75c36ba9d2262d5fd9097ffe6 (diff)
downloadruby-893053b1584f48adec6c940651393d49a9a41a30.tar.gz
* 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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/ifchange2
1 files changed, 1 insertions, 1 deletions
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"`