summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-06 16:24:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-06 16:24:32 +0000
commitb2a9e7c85a48e590e7e78a66fea34a39bb9c2cff (patch)
tree896a501f8922ad6003eb7512d3e741bbc733777b /tool/make-snapshot
parent5732566f4d9a026fef3904f3237a9f7255ba91f2 (diff)
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 0f0a31f..25d61a7 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -1,5 +1,5 @@
#!/usr/bin/ruby -s
-# -*- encoding: us-ascii -*-
+# -*- coding: us-ascii -*-
require 'uri'
require 'digest/md5'
require 'digest/sha2'
@@ -197,7 +197,7 @@ end
revisions.collect {|rev| package(rev, destdir)}.flatten.each do |name|
name or next
- str = open(name, "rb:binary") {|f| f.read}
+ str = open(name, "rb") {|f| f.read}
md5 = Digest::MD5.hexdigest str
sha = Digest::SHA256.hexdigest str
puts "* #{name}"