mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
util/rubocop -A --only Style/TernaryParentheses
This commit is contained in:
parent
31c572f4fa
commit
f8fe151ca9
6 changed files with 6 additions and 6 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue