mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/make-snapshot (package): suppress constant overwritting warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f25efeb82f
commit
be42c35424
1 changed files with 4 additions and 1 deletions
|
@ -163,7 +163,10 @@ def package(rev, destdir)
|
|||
"take a breath, and go ahead".scan(/./) {|c|print c; sleep(c == "," ? 0.7 : 0.05)}; puts
|
||||
def (clean = []).add(n) push(n); n end
|
||||
Dir.chdir(v) do
|
||||
File.open(clean.add("cross.rb"), "w") {|f| f.puts "CROSS_COMPILING=true"}
|
||||
File.open(clean.add("cross.rb"), "w") do |f|
|
||||
f.puts "Object.__send__(:remove_const, :CROSS_COMPILING) if defined?(CROSS_COMPILING)"
|
||||
f.puts "CROSS_COMPILING=true"
|
||||
end
|
||||
unless File.exist?("configure")
|
||||
print "creating configure..."
|
||||
unless system("autoconf")
|
||||
|
|
Loading…
Add table
Reference in a new issue