summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-15 09:09:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-15 09:09:14 +0000
commit218029f06d0a43befac4a899dbeb302f901142ed (patch)
tree262e942b4477a4ac45c97a14e1d03acc0bb49aad
parent9fd7afefd04134c98abe594154a527c6cfe2123b (diff)
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
-rwxr-xr-xtool/make-snapshot2
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 717ae19..7ae5d35 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -277,6 +277,8 @@ def package(vcs, rev, destdir, tmp = nil)
f.puts "s,@RM@,|#_!!_#|rm -f,g"
f.puts "s,@CP@,|#_!!_#|cp,g"
f.puts "s,@rubyarchdir@,|#_!!_#|,g"
+ f.puts "s,@rubylibprefix@,|#_!!_#|,g"
+ f.puts "s,@ruby_version@,|#_!!_#|,g"
}
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
File.open("#{hdrdir}/config.h", "w") {}