diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 08:40:41 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-11 08:40:41 +0000 |
commit | 10a93cb145e32d69bfef4b7ab44bff1e0b291bb8 (patch) | |
tree | 417defa92526a55e1a3d5362b0186e902fdd6b1b /tool | |
parent | d07ff18d24fe5f4d73f86c17280259c887fc84f0 (diff) |
merges r20118 from trunk into ruby_1_9_1.
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 0f0a31fb3e..25d61a7954 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}" |