1
0
Fork 0
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:
Yusuke Endoh 2019-08-31 07:17:46 +09:00
parent a1e588d1a7
commit 8cb9efbbe6

View file

@ -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]