1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* instruby.rb: for cross compile.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2006-10-02 06:55:16 +00:00
parent 8f2ba3e25b
commit 57a352072a

View file

@ -262,8 +262,8 @@ install?(:local, :comm, :bin) do
if ruby_bin_dosish
batfile = File.join(bindir, name + ".bat")
open_for_install(batfile, "w") {|b|
b.print(<<EOH+shebang+body+<<EOF)
open_for_install(batfile, "wb") {|b|
b.print((<<EOH+shebang+body+<<EOF).gsub(/\r?\n/, "\r\n"))
@echo off
@if not "%~d0" == "~d0" goto WinNT
#{ruby_bin_dosish} -x "#{batfile}" %1 %2 %3 %4 %5 %6 %7 %8 %9