summaryrefslogtreecommitdiff
path: root/tool/make-snapshot
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-03 21:57:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-09-03 21:57:17 +0900
commit2767cb282531be10c6393d3d7c48fcdd2935ca4d (patch)
tree947d088dd4c395573cfea11e0a03d8c8a5e64ca9 /tool/make-snapshot
parenta01271c1c46079cb6f7f32051f1253cf3d9bca6b (diff)
downloadruby-2767cb282531be10c6393d3d7c48fcdd2935ca4d.tar.gz
Now fake.rb is needed to prepare sources
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 5d0ec7a3fb..4c097d6c9b 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -436,6 +436,7 @@ def package(vcs, rev, destdir, tmp = nil)
# use fallback file
end
clean.create("config.status", status)
+ clean.create("noarch-fake.rb")
FileUtils.mkpath(hdrdir = "#{extout}/include/ruby")
File.binwrite("#{hdrdir}/config.h", "")
FileUtils.mkpath(defaults = "#{extout}/rubygems/defaults")