mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
c5712c91b9
commit
694185bf7f
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Dec 24 00:23:13 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* tool/extlibs.rb (do_extract): the pipe should be binmode.
|
||||||
|
|
||||||
Wed Dec 24 00:21:44 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
Wed Dec 24 00:21:44 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* Makefile.in, common.mk: move common-srcs to Makefile.in because
|
* Makefile.in, common.mk: move common-srcs to Makefile.in because
|
||||||
|
|
|
@ -52,7 +52,7 @@ def do_extract(cache, dir)
|
||||||
else
|
else
|
||||||
inp = cache
|
inp = cache
|
||||||
end
|
end
|
||||||
inp ||= f
|
inp ||= f.binmode
|
||||||
ext = File.extname(cache)
|
ext = File.extname(cache)
|
||||||
case ext
|
case ext
|
||||||
when '.tar', /\A\.t[gbx]z\z/
|
when '.tar', /\A\.t[gbx]z\z/
|
||||||
|
|
Loading…
Reference in a new issue