From ce31c16a14ef00afa0fa85044df756afc77e7b92 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 19 Aug 2013 12:32:58 -0500 Subject: Reference self, not ENV, in ENV.fortran --- Library/Homebrew/extend/ENV.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew') 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" -- cgit v1.2.3