Reference self, not ENV, in ENV.fortran

This commit is contained in:
Jack Nagel 2013-08-19 12:32:58 -05:00
parent 06b1668340
commit ce31c16a14

View File

@ -484,7 +484,7 @@ class << ENV
def fortran
# superenv removes these PATHs, but this option needs them
# 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']
ohai "Building with an alternative Fortran compiler"