[rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to set it up later and cause confusion
https://github.com/rubygems/rubygems/commit/6ec3ba983c
This commit is contained in:
parent
5824981d98
commit
ab8d9a5325
@ -108,7 +108,7 @@ class Gem::Ext::Builder
|
|||||||
@build_args = build_args
|
@build_args = build_args
|
||||||
@gem_dir = spec.full_gem_path
|
@gem_dir = spec.full_gem_path
|
||||||
|
|
||||||
@ran_rake = nil
|
@ran_rake = false
|
||||||
end
|
end
|
||||||
|
|
||||||
##
|
##
|
||||||
@ -202,9 +202,6 @@ EOF
|
|||||||
|
|
||||||
FileUtils.rm_f @spec.gem_build_complete_path
|
FileUtils.rm_f @spec.gem_build_complete_path
|
||||||
|
|
||||||
# FIXME: action at a distance: @ran_rake modified deep in build_extension(). - @duckinator
|
|
||||||
@ran_rake = false # only run rake once
|
|
||||||
|
|
||||||
@spec.extensions.each do |extension|
|
@spec.extensions.each do |extension|
|
||||||
break if @ran_rake
|
break if @ran_rake
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user