aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 6306f0c9d5..ebf926f77f 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -423,6 +423,10 @@ update-gems:
$(UNICODE_SRC_DATA_DIR)/.unicode-tables.time:
touch-unicode-files:
APPEND
+ mk << <<-APPEND
+after-update::
+\t$(Q) $(RUNRUBY) -C gems -e 'Dir.glob("*") {|f|File.rename(File.readlink(f), f) rescue nil}'
+ APPEND
open(clean.add("Makefile"), "w") do |f|
f.puts mk
end