summaryrefslogtreecommitdiff
path: root/lib/rubygems/ext/builder.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-16 13:40:35 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-17 18:50:55 +0900
commit4ab23df2c4540578e77c79a8aaf06178362edb76 (patch)
tree5011e2338036662371dfa8e805c0ec391e1e4840 /lib/rubygems/ext/builder.rb
parentb8914a9d5de581c96abeac9290e5d505a570d00b (diff)
[rubygems/rubygems] util/rubocop -A --only Style/RedundantParentheses
https://github.com/rubygems/rubygems/commit/295691d4dc
Diffstat (limited to 'lib/rubygems/ext/builder.rb')
-rw-r--r--lib/rubygems/ext/builder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb
index 9ddcf988e5..02ca000984 100644
--- a/lib/rubygems/ext/builder.rb
+++ b/lib/rubygems/ext/builder.rb
@@ -26,7 +26,7 @@ class Gem::Ext::Builder
RbConfig::CONFIG["configure_args"] =~ /with-make-prog\=(\w+)/
make_program_name = ENV["MAKE"] || ENV["make"] || $1
unless make_program_name
- make_program_name = (RUBY_PLATFORM.include?("mswin")) ? "nmake" : "make"
+ make_program_name = RUBY_PLATFORM.include?("mswin") ? "nmake" : "make"
end
make_program = Shellwords.split(make_program_name)