* instruby.rb: batfile should be CRLF'ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5cfcbb2aca
commit
d752282786
@ -1,3 +1,7 @@
|
|||||||
|
Mon Oct 2 15:47:55 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* instruby.rb: batfile should be CRLF'ed.
|
||||||
|
|
||||||
Mon Oct 2 01:24:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Mon Oct 2 01:24:26 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (test-all): separate directory where running test cases
|
* common.mk (test-all): separate directory where running test cases
|
||||||
|
@ -262,8 +262,8 @@ install?(:local, :comm, :bin) do
|
|||||||
|
|
||||||
if ruby_bin_dosish
|
if ruby_bin_dosish
|
||||||
batfile = File.join(bindir, name + ".bat")
|
batfile = File.join(bindir, name + ".bat")
|
||||||
open_for_install(batfile, "wb") {|b|
|
open_for_install(batfile, "w") {|b|
|
||||||
b.print((<<EOH+shebang+body.chomp+<<EOF).gsub(/^\s+/, '').gsub(/^$/, "\r"))
|
b.print(<<EOH+shebang+body+<<EOF)
|
||||||
@echo off
|
@echo off
|
||||||
@if not "%~d0" == "~d0" goto WinNT
|
@if not "%~d0" == "~d0" goto WinNT
|
||||||
#{ruby_bin_dosish} -x "#{batfile}" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
#{ruby_bin_dosish} -x "#{batfile}" %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||||
|
Loading…
x
Reference in New Issue
Block a user