diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-15 09:09:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-15 09:09:14 +0000 |
commit | 218029f06d0a43befac4a899dbeb302f901142ed (patch) | |
tree | 262e942b4477a4ac45c97a14e1d03acc0bb49aad | |
parent | 9fd7afefd04134c98abe594154a527c6cfe2123b (diff) | |
download | ruby-218029f06d0a43befac4a899dbeb302f901142ed.tar.gz |
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-x | tool/make-snapshot | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot index 717ae19225..7ae5d35c8f 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") {} |