diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-01 18:15:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-01 23:22:49 +0900 |
commit | b578c63f8398d4203c27a012f60b99d14910007d (patch) | |
tree | 0683fc9f438474c0a366942254bb44a61012b324 /tool | |
parent | ff7c95dfd9b6aa1b4a83c18172e2845f7e6a4e7f (diff) | |
download | ruby-b578c63f8398d4203c27a012f60b99d14910007d.tar.gz |
Resolve symlinks to cache directory under gems
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/make-snapshot | 4 |
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 |