mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Don't fetch the value just to throw it away
This commit is contained in:
parent
2d049ae05b
commit
fe597c00df
@ -31,7 +31,7 @@ module Homebrew extend self
|
||||
HOMEBREW_SVN HOMEBREW_GIT
|
||||
HOMEBREW_SDKROOT HOMEBREW_BUILD_FROM_SOURCE
|
||||
MAKE GIT CPP
|
||||
ACLOCAL_PATH PATH CPATH].select{ |key| env.fetch(key) if env.key? key }
|
||||
ACLOCAL_PATH PATH CPATH].select { |key| env.key?(key) }
|
||||
end
|
||||
|
||||
def dump_build_env env
|
||||
|
Loading…
x
Reference in New Issue
Block a user