summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-05 14:44:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-05 14:44:15 +0000
commit6e0e93e60ec55ab4a28d29d4ad70a3ad7e65c73e (patch)
tree073e61abd3822ad94ca9e6ba9226204593a4f494 /tool/downloader.rb
parent9dcc6f081000d9c0f11a97051654ee2091f632e0 (diff)
downloadruby-6e0e93e60ec55ab4a28d29d4ad70a3ad7e65c73e.tar.gz
downloader.rb: fix typo, extra %
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 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)