summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 07:09:43 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 07:09:43 (GMT)
commit8869cdf576757d567e2c14453297fc932627563f (patch)
treec0363d09c52d634ba0685ee0239aec2990503822 /ext/io
parent19e0fa010e8c02b7ba6a1fd3c59adfd65e462062 (diff)
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')
-rw-r--r--ext/io/console/depend2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/depend b/ext/io/console/depend
index 2709f32..9e6eb60 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)