From 8869cdf576757d567e2c14453297fc932627563f Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 7 May 2015 07:09:43 +0000 Subject: 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 --- ext/io/console/depend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/io/console/depend') 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) $(