mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Explicitly ignored empty value for DESTDIR
69dcc02553
This commit is contained in:
parent
33d01b7344
commit
16331d9abb
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Gem::Ext::Builder
|
||||||
make_program = Shellwords.split(make_program)
|
make_program = Shellwords.split(make_program)
|
||||||
|
|
||||||
# The installation of the bundled gems is failed when DESTDIR is empty in mswin platform.
|
# The installation of the bundled gems is failed when DESTDIR is empty in mswin platform.
|
||||||
destdir = ENV['DESTDIR'] ? 'DESTDIR=%s' % ENV['DESTDIR'] : ''
|
destdir = (ENV['DESTDIR'] && ENV['DESTDIR'] != "") ? 'DESTDIR=%s' % ENV['DESTDIR'] : ''
|
||||||
|
|
||||||
['clean', '', 'install'].each do |target|
|
['clean', '', 'install'].each do |target|
|
||||||
# Pass DESTDIR via command line to override what's in MAKEFLAGS
|
# Pass DESTDIR via command line to override what's in MAKEFLAGS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue