1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Resolve symlinks to cache directory under gems

This commit is contained in:
Nobuyoshi Nakada 2019-09-01 18:15:02 +09:00
parent ff7c95dfd9
commit b578c63f83
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -422,6 +422,10 @@ extract-gems: update-gems
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