aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2013-08-19 12:32:58 -0500
committerJack Nagel2013-08-19 12:32:58 -0500
commitce31c16a14ef00afa0fa85044df756afc77e7b92 (patch)
tree9758314b8b49665b4b41b940e25f54d0aaa2ece3 /Library/Homebrew
parent06b1668340d8672c27205c30865a0947107925cc (diff)
downloadbrew-ce31c16a14ef00afa0fa85044df756afc77e7b92.tar.bz2
Reference self, not ENV, in ENV.fortran
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb
index 64da1939a..338b9f408 100644
--- a/Library/Homebrew/extend/ENV.rb
+++ b/Library/Homebrew/extend/ENV.rb
@@ -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"