summaryrefslogtreecommitdiff
path: root/tool/rbinstall.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-25 13:12:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-10-04 20:44:38 +0900
commit44b2e32fb670e5e704f5721cf973cdc77d54a315 (patch)
tree820d38a5f392dfc1dadb5dd0358b147cf2528e4c /tool/rbinstall.rb
parent3842e723da61ca80ed7f8ec7fd74dd71b812c3cd (diff)
downloadruby-44b2e32fb670e5e704f5721cf973cdc77d54a315.tar.gz
Fix a typo
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 2f70f46ad3..e41f6887aa 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -99,7 +99,7 @@ def parse_args(argv = ARGV)
case v
when /\AINSTALL[-_]([-\w]+)=(.*)/
argv.unshift("--#{$1.tr('_', '-')}=#{$2}")
- when /\A\w[-\w+]*=\z/
+ when /\A\w[-\w]*=/
mflags << v
when /\A\w[-\w+]*\z/
$install << v.intern