self, not ENV

This commit is contained in:
Jack Nagel 2014-05-13 12:48:27 -05:00
parent deb65a959d
commit 278d9dfdb4

View File

@ -103,7 +103,7 @@ module Superenv
# s - apply fix for sed's Unicode support
# a - apply fix for apr-1-config path
warn_about_non_apple_gcc($1) if ENV['HOMEBREW_CC'] =~ GNU_GCC_REGEXP
warn_about_non_apple_gcc($1) if self["HOMEBREW_CC"] =~ GNU_GCC_REGEXP
end
private