aboutsummaryrefslogtreecommitdiffstats
path: root/ext/io
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 07:09:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-07 07:09:43 +0000
commit5d1204d49ab3ec75b84a040b4a9878d2885fb237 (patch)
treec0363d09c52d634ba0685ee0239aec2990503822 /ext/io
parent956171f318e3237dc3a2accc7423a06a43f99c35 (diff)
downloadruby-5d1204d49ab3ec75b84a040b4a9878d2885fb237.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')
-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 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)