make-snapshot: add fake values
* tool/make-snapshot (package): add fake values, rubylibprefix and ruby_version which are necessary for Gem.default_dir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fd7afefd0
commit
218029f06d
@ -277,6 +277,8 @@ def package(vcs, rev, destdir, tmp = nil)
|
|||||||
f.puts "s,@RM@,|#_!!_#|rm -f,g"
|
f.puts "s,@RM@,|#_!!_#|rm -f,g"
|
||||||
f.puts "s,@CP@,|#_!!_#|cp,g"
|
f.puts "s,@CP@,|#_!!_#|cp,g"
|
||||||
f.puts "s,@rubyarchdir@,|#_!!_#|,g"
|
f.puts "s,@rubyarchdir@,|#_!!_#|,g"
|
||||||
|
f.puts "s,@rubylibprefix@,|#_!!_#|,g"
|
||||||
|
f.puts "s,@ruby_version@,|#_!!_#|,g"
|
||||||
}
|
}
|
||||||
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
|
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
|
||||||
File.open("#{hdrdir}/config.h", "w") {}
|
File.open("#{hdrdir}/config.h", "w") {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user