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

* tool/make-snapshot (package): $: no longer contains ".", in trunk.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-03-24 19:36:57 +00:00
parent 487a267899
commit 058b9db421
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Mar 25 04:36:47 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/make-snapshot (package): $: no longer contains ".", in trunk.
Thu Mar 25 03:52:45 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]

View file

@ -159,7 +159,7 @@ def package(rev, destdir)
}
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
File.open("#{hdrdir}/config.h", "w") {}
miniruby = ENV['MINIRUBY'] + " -rcross"
miniruby = ENV['MINIRUBY'] + " -r./cross"
IO.popen("make -f - prereq srcdir=. CHDIR=cd IFCHANGE=tool/ifchange 'MINIRUBY=#{miniruby}' 'RUBY=#{ENV["RUBY"]}'", "w") do |f|
f.puts(IO.read("Makefile.in").gsub(/^@.*\n/, '').gsub(/@([A-Za-z_]\w*)@/) {ENV[$1]})
f.puts(commonmk.gsub(/\{[^{}]*\}/, ""))