summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authorMartin Dürst <duerst@it.aoyama.ac.jp>2019-05-24 18:22:36 +0900
committerMartin Dürst <duerst@it.aoyama.ac.jp>2019-05-24 18:22:36 +0900
commitc06f9e1d24e0e164506c6b5946a02814319485cc (patch)
treecc817a2535603baaeaf495974023a68d0e0e6f63 /tool/downloader.rb
parentb0a4d81fc3c9195f7462a096a50e857669c47918 (diff)
downloadruby-c06f9e1d24e0e164506c6b5946a02814319485cc.tar.gz
switch UNICODE_BETA to NO (one more try, first try didn't work)
Unicode version 12.1.0 was officially released on May 7th, 2019. There were no changes at all from the "real" beta published shortly after the new era name "Reiwa" was announced. So we can switch UNICODE_BETA back to NO. common.mk: switch UNICODE_BETA back to NO tool/downloader.rb: add additional conditions to avoid an error when moving from beta to final
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 77eab26f63..cb36150942 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -94,7 +94,7 @@ class Downloader
super(UNICODE_PUBLIC+name_dir_part+beta_name, name, dir, since, options)
else
index_file = Pathname.new(under(dir, name_dir_part+'index.html'))
- if index_file.exist?
+ if index_file.exist? and name_dir_part !~ /^(12.1.0|emoji\/12.0)/
raise "Although Unicode is not in beta, file #{index_file} exists. " +
"Remove all files in this directory and in .downloaded-cache/ " +
"because they may be leftovers from the beta period."