Reference self, not ENV, in ENV.fortran
This commit is contained in:
parent
06b1668340
commit
ce31c16a14
@ -484,7 +484,7 @@ class << ENV
|
|||||||
def fortran
|
def fortran
|
||||||
# superenv removes these PATHs, but this option needs them
|
# superenv removes these PATHs, but this option needs them
|
||||||
# TODO fix better, probably by making a super-fc
|
# TODO fix better, probably by making a super-fc
|
||||||
ENV['PATH'] += ":#{HOMEBREW_PREFIX}/bin:/usr/local/bin"
|
self['PATH'] += ":#{HOMEBREW_PREFIX}/bin:/usr/local/bin"
|
||||||
|
|
||||||
if self['FC']
|
if self['FC']
|
||||||
ohai "Building with an alternative Fortran compiler"
|
ohai "Building with an alternative Fortran compiler"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user