From 6e0e93e60ec55ab4a28d29d4ad70a3ad7e65c73e Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 5 Apr 2019 14:44:15 +0000 Subject: [PATCH] downloader.rb: fix typo, extra % git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/downloader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/downloader.rb b/tool/downloader.rb index 80ee244958..c2cc2030a0 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -88,7 +88,7 @@ class Downloader INDEX[:index] = IO.read index_file end file_base = File.basename(name, '.txt') - beta_name = INDEX[:index][%/#{Regexp.quote(file_base)}(-[0-9.]+d\d+)?\.txt/] + beta_name = INDEX[:index][/#{Regexp.quote(file_base)}(-[0-9.]+d\d+)?\.txt/] # make sure we always check for new versions of files, # because they can easily change in the beta period super(UNICODE_PUBLIC+name_dir_part+beta_name, name, dir, true, options)