diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-07 07:09:43 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-07 07:09:43 +0000 |
commit | 8869cdf576757d567e2c14453297fc932627563f (patch) | |
tree | c0363d09c52d634ba0685ee0239aec2990503822 /ext/io/console/depend | |
parent | 19e0fa010e8c02b7ba6a1fd3c59adfd65e462062 (diff) | |
download | ruby-8869cdf576757d567e2c14453297fc932627563f.tar.gz |
checksum.rb: check the target
* tool/checksum.rb (Checksum#update?): check if the target exists
too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/depend')
-rw-r--r-- | ext/io/console/depend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/depend b/ext/io/console/depend index 2709f32aa5..9e6eb60fbc 100644 --- a/ext/io/console/depend +++ b/ext/io/console/depend @@ -15,5 +15,5 @@ win32_vk.inc: win32_vk.list {$(srcdir)}.list.chksum: @$(RUBY) -I$(top_srcdir)/tool -rchecksum \ - -e "Checksum.update(ARGV) {|k,f|k.copy(f) rescue k.make(f)}" \ + -e "Checksum.update(ARGV) {|k|k.copy(k.target) rescue k.make(k.target)}" \ -- --make=$(MAKE) -I$(srcdir) $(<F) $(@F:.chksum=.inc) |