diagnostic: use ENV[]

This commit is contained in:
Mike McQuaid 2017-07-20 20:02:34 +01:00 committed by GitHub
parent 2899132e52
commit bd06a7926c

View File

@ -99,7 +99,7 @@ module Homebrew
end
def check_build_from_source
return unless ENV("HOMEBREW_BUILD_FROM_SOURCE")
return unless ENV["HOMEBREW_BUILD_FROM_SOURCE"]
<<-EOS.undent
You have HOMEBREW_BUILD_FROM_SOURCE set. This environment variable is