summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-08-31 07:17:46 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-08-31 07:17:46 +0900
commit8cb9efbbe62a9a544bff2cd6571fc756ce92a738 (patch)
treea8863c5f3f698c9e118d69f85ae79be994634591
parenta1e588d1a73e3d72cd9ce6a2516ada9baeb77861 (diff)
tool/rbinstall.rb: remove a keyword-argument warning
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 1a14960af7..a316e07e79 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -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]