diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-23 15:24:07 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-12-23 15:24:07 +0000 |
commit | 694185bf7f8a5593b210512b5dbdc2ad256a8d2f (patch) | |
tree | 5074322835204bf482f2f9b138616f29a4eabe05 /tool | |
parent | c5712c91b9d00e102d07a4b207f5f22867a386cd (diff) | |
download | ruby-694185bf7f8a5593b210512b5dbdc2ad256a8d2f.tar.gz |
* tool/extlibs.rb (do_extract): the pipe should be binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/extlibs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/extlibs.rb b/tool/extlibs.rb index aab08d0372..a8554b3de2 100755 --- a/tool/extlibs.rb +++ b/tool/extlibs.rb @@ -52,7 +52,7 @@ def do_extract(cache, dir) else inp = cache end - inp ||= f + inp ||= f.binmode ext = File.extname(cache) case ext when '.tar', /\A\.t[gbx]z\z/ |