diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:52:28 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | f8fe151ca99233e7d133e2952f9b989c5290c825 (patch) | |
tree | abf775744aa3065bc3686e7c8dab56d0954a113e /lib/rubygems/ext/builder.rb | |
parent | 31c572f4fade8d061b151bd70dfca0b79da664e3 (diff) |
util/rubocop -A --only Style/TernaryParentheses
Diffstat (limited to 'lib/rubygems/ext/builder.rb')
-rw-r--r-- | lib/rubygems/ext/builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/ext/builder.rb b/lib/rubygems/ext/builder.rb index 0386dc559b..af67fef502 100644 --- a/lib/rubygems/ext/builder.rb +++ b/lib/rubygems/ext/builder.rb @@ -29,7 +29,7 @@ class Gem::Ext::Builder make_program = Shellwords.split(make_program_name) # The installation of the bundled gems is failed when DESTDIR is empty in mswin platform. - destdir = (/\bnmake/i !~ make_program_name || ENV["DESTDIR"] && ENV["DESTDIR"] != "") ? "DESTDIR=%s" % ENV["DESTDIR"] : "" + destdir = /\bnmake/i !~ make_program_name || ENV["DESTDIR"] && ENV["DESTDIR"] != "" ? "DESTDIR=%s" % ENV["DESTDIR"] : "" env = [destdir] |