diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 10:38:32 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-06-13 10:38:51 +0900 |
commit | abc828bc67ff42ddb42f5bd034cec185d6b8821d (patch) | |
tree | f5d58f4238155f1e2412881f09915b8b7cf55b43 | |
parent | 54be0e4fd3c33935396d282d98484c2f5c818ddc (diff) |
Prevent a "warning: `*' interpreted as argument prefix"
-rw-r--r-- | test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb b/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb index 4d2f8488a4..63ac2e5ce6 100644 --- a/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb +++ b/test/rubygems/test_gem_ext_cargo_builder/custom_name/build.rb @@ -15,7 +15,7 @@ gemspec = File.expand_path('custom_name.gemspec', __dir__) Dir.mktmpdir("custom_name") do |dir| built_gem = File.expand_path(File.join(dir, "custom_name.gem")) - system *gem, "build", gemspec, "--output", built_gem - system *gem, "install", "--verbose", "--local", built_gem, *ARGV + system(*gem, "build", gemspec, "--output", built_gem) + system(*gem, "install", "--verbose", "--local", built_gem, *ARGV) system %q(ruby -rcustom_name -e "puts 'Result: ' + CustomName.say_hello") end |