Only call proc if it is set
Fixes Homebrew/homebrew#30723. Fixes Homebrew/homebrew#30724. Fixes Homebrew/homebrew#30727.
This commit is contained in:
parent
3e326b79fe
commit
23b4da18c2
@ -25,7 +25,7 @@ class BuildEnvironment
|
|||||||
end
|
end
|
||||||
|
|
||||||
def modify_build_environment(receiver)
|
def modify_build_environment(receiver)
|
||||||
receiver.instance_eval(&proc)
|
receiver.instance_eval(&proc) if self.proc
|
||||||
end
|
end
|
||||||
|
|
||||||
def marshal_dump
|
def marshal_dump
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user