scm: cvs: fix most binary files become corrupted on Windows (#6090).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4815 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4caca2492b
commit
2a11abdcfc
|
@ -249,6 +249,7 @@ module Redmine
|
|||
cmd << " -p #{shell_quote path_with_project}"
|
||||
cat = nil
|
||||
shellout(cmd) do |io|
|
||||
io.binmode
|
||||
cat = io.read
|
||||
end
|
||||
return nil if $? && $?.exitstatus != 0
|
||||
|
|
Loading…
Reference in New Issue