mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/rbinstall.rb: remove a keyword-argument warning
This commit is contained in:
parent
a1e588d1a7
commit
8cb9efbbe6
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ def install(src, dest, options = {})
|
|||
strip = options.delete(:strip)
|
||||
options[:preserve] = true
|
||||
d = with_destdir(dest)
|
||||
super(src, d, options)
|
||||
super(src, d, **options)
|
||||
srcs = Array(src)
|
||||
if strip
|
||||
d = srcs.map {|s| File.join(d, File.basename(s))} if $made_dirs[dest]
|
||||
|
|
Loading…
Reference in a new issue