зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Explicitly ignored empty value for DESTDIR
https://github.com/rubygems/rubygems/commit/69dcc02553
This commit is contained in:
Родитель
33d01b7344
Коммит
16331d9abb
|
@ -31,7 +31,7 @@ class Gem::Ext::Builder
|
|||
make_program = Shellwords.split(make_program)
|
||||
|
||||
# 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|
|
||||
# Pass DESTDIR via command line to override what's in MAKEFLAGS
|
||||
|
|
Загрузка…
Ссылка в новой задаче