1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
kazu 2016-06-09 12:10:50 +00:00
parent dd05607f9a
commit c01e473863
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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"`