diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-07 09:09:29 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-07 09:09:58 +0900 |
commit | c7477c3e1fb661ed1cbcda9c7fbc710f77390845 (patch) | |
tree | f56f246c76a0645d3bf6c81b4841ab4b4ff629d4 /tool | |
parent | aef3bb3513d5b275ed9fa2765e83fab97122fd40 (diff) | |
download | ruby-c7477c3e1fb661ed1cbcda9c7fbc710f77390845.tar.gz |
Moved Makefile.in under template
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 3e90adba48..8b60ee21cb 100755 --- a/tool/make-snapshot +++ b/tool/make-snapshot @@ -389,7 +389,8 @@ def package(vcs, rev, destdir, tmp = nil) File.open("#{defaults}/ruby.rb", "w") {} miniruby = ENV['MINIRUBY'] + " -I. -I#{extout} -rcross" baseruby = ENV["BASERUBY"] - mk = IO.read("Makefile.in").gsub(/^@.*\n/, '') + mk = (IO.read("template/Makefile.in") rescue IO.read("Makefile.in")). + gsub(/^@.*\n/, '') vars = { "EXTOUT"=>extout, "PATH_SEPARATOR"=>File::PATH_SEPARATOR, |