diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-06 12:49:08 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-07 08:44:37 +0900 |
commit | 6f9d5fafe040cb02a1278fbfcdcb8063d564824c (patch) | |
tree | b11c7e653b7d57019f35ad7ac5624cf3e854539f /tool/make-snapshot | |
parent | aee77901310389462c0971e7c45f7c19410f3371 (diff) |
Moved Makefile.in under template
Diffstat (limited to 'tool/make-snapshot')
-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, |