diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-04-29 13:14:14 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-04-29 13:14:47 +0900 |
commit | cf45d30fd7e76359687ee32b6bae55d752b46840 (patch) | |
tree | a606537ee2902dda8caf22547d46447db25961b6 /test | |
parent | 99281f513cf7d4873d2f672860f80e063f98b7cb (diff) |
Prevent a "warning: `*' interpreted as argument prefix"
Diffstat (limited to 'test')
-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 |