diff options
| author | Max Howell | 2012-08-28 09:50:03 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-29 12:41:36 -0400 |
| commit | 672388d4f71e810d0f742518b5cd4a5aa7de6e04 (patch) | |
| tree | c9763f6ddbd51ffd7933816c7ed95d0f05a11c9b /Library/Homebrew/cmd | |
| parent | 0ac3e83a7abbf0fe06206d4da145f2cd724b2a87 (diff) | |
| download | brew-672388d4f71e810d0f742518b5cd4a5aa7de6e04.tar.bz2 | |
Always find git and svn without trying hard
Two wrapper scripts that find git and svn using the ENV variables we support and then searching through the PATH and looking inside Xcode.app if necessary.
Now just calling git or svn in Homebrew code will find and exec the right tool and we can stop fussing.
Apologies to @adamv who is probably unimpressed that the cmds directory has non-commands in it now. If it's consolation these are temporary pending some more work on superenv whereby some more directories are created under the superenv root.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/--env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb index df458fc87..f45386d0c 100644 --- a/Library/Homebrew/cmd/--env.rb +++ b/Library/Homebrew/cmd/--env.rb @@ -23,7 +23,7 @@ module Homebrew extend self CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_FRAMEWORK_PATH MAKEFLAGS MACOSX_DEPLOYMENT_TARGET PKG_CONFIG_PATH HOMEBREW_BUILD_FROM_SOURCE HOMEBREW_DEBUG HOMEBREW_MAKE_JOBS HOMEBREW_VERBOSE HOMEBREW_USE_CLANG - HOMEBREW_USE_GCC HOMEBREW_USE_LLVM HOMEBREW_SVN + HOMEBREW_USE_GCC HOMEBREW_USE_LLVM HOMEBREW_SVN HOMEBREW_GIT MAKE GIT CPP ACLOCAL_PATH OBJC PATH ].select{ |key| env[key] } end |
