diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 12:10:50 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-09 12:10:50 +0000 |
commit | c01e473863fa62e2c781f863fdd1bc9c5cba1566 (patch) | |
tree | 13c383256ff5c43f9a5d184284cbe9d7858a11d6 /tool/ifchange | |
parent | dd05607f9a76ebab24fe7cf720bda102a81e5b0d (diff) | |
download | ruby-c01e473863fa62e2c781f863fdd1bc9c5cba1566.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/ifchange')
-rwxr-xr-x | tool/ifchange | 2 |
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"` |