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): take a breath for HP-UX make

[ruby-core:28938].


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

View file

@ -1,4 +1,7 @@
Thu Mar 25 04:38:16 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Mar 25 04:42:19 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/make-snapshot (package): take a breath for HP-UX make
[ruby-core:28938].
* tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.

View file

@ -137,6 +137,7 @@ def package(rev, destdir)
v = n
end
system("patch -d #{v} -p0 -i #{$patch_file}") if $patch_file
"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"}