diff options
Diffstat (limited to 'Library')
| l--------- | Library/ENV/3.2.6 | 1 | ||||
| l--------- | Library/ENV/4.2 | 1 | ||||
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 2 | ||||
| -rw-r--r-- | Library/Homebrew/config.rb | 4 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/extend/ENV/std.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/extend/os/mac/extend/ENV/super.rb | 6 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/libcurl.pc (renamed from Library/ENV/pkgconfig/10.10/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/libexslt.pc (renamed from Library/ENV/pkgconfig/10.10/libexslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/libxml-2.0.pc (renamed from Library/ENV/pkgconfig/10.10/libxml-2.0.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/libxslt.pc (renamed from Library/ENV/pkgconfig/10.10/libxslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.10/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.10/zlib.pc (renamed from Library/ENV/pkgconfig/10.10/zlib.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/libcurl.pc (renamed from Library/ENV/pkgconfig/10.11/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/libexslt.pc (renamed from Library/ENV/pkgconfig/10.11/libexslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/libxml-2.0.pc (renamed from Library/ENV/pkgconfig/10.11/libxml-2.0.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/libxslt.pc (renamed from Library/ENV/pkgconfig/10.11/libxslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.11/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.11/zlib.pc (renamed from Library/ENV/pkgconfig/10.11/zlib.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/libcurl.pc (renamed from Library/ENV/pkgconfig/10.12/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/libexslt.pc (renamed from Library/ENV/pkgconfig/10.12/libexslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/libxml-2.0.pc (renamed from Library/ENV/pkgconfig/10.12/libxml-2.0.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/libxslt.pc (renamed from Library/ENV/pkgconfig/10.12/libxslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.12/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.12/zlib.pc (renamed from Library/ENV/pkgconfig/10.12/zlib.pc) | 0 | ||||
| l--------- | Library/Homebrew/os/mac/pkgconfig/10.4 (renamed from Library/ENV/pkgconfig/10.4) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.5/libcrypto.pc (renamed from Library/ENV/pkgconfig/10.5/libcrypto.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.5/libcurl.pc (renamed from Library/ENV/pkgconfig/10.5/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.6/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.6/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.6/zlib.pc (renamed from Library/ENV/pkgconfig/10.6/zlib.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.7/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.7/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.7/zlib.pc (renamed from Library/ENV/pkgconfig/10.7/zlib.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/libcurl.pc (renamed from Library/ENV/pkgconfig/10.8/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/libexslt.pc (renamed from Library/ENV/pkgconfig/10.8/libexslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/libxml-2.0.pc (renamed from Library/ENV/pkgconfig/10.8/libxml-2.0.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/libxslt.pc (renamed from Library/ENV/pkgconfig/10.8/libxslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.8/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.8/zlib.pc (renamed from Library/ENV/pkgconfig/10.8/zlib.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/libcurl.pc (renamed from Library/ENV/pkgconfig/10.9/libcurl.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/libexslt.pc (renamed from Library/ENV/pkgconfig/10.9/libexslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/libxml-2.0.pc (renamed from Library/ENV/pkgconfig/10.9/libxml-2.0.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/libxslt.pc (renamed from Library/ENV/pkgconfig/10.9/libxslt.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/sqlite3.pc (renamed from Library/ENV/pkgconfig/10.9/sqlite3.pc) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/os/mac/pkgconfig/10.9/zlib.pc (renamed from Library/ENV/pkgconfig/10.9/zlib.pc) | 0 | ||||
| l--------- | Library/Homebrew/os/mac/pkgconfig/fuse/fuse.pc (renamed from Library/ENV/pkgconfig/fuse/fuse.pc) | 0 | ||||
| l--------- | Library/Homebrew/os/mac/pkgconfig/fuse/osxfuse.pc (renamed from Library/ENV/pkgconfig/fuse/osxfuse.pc) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/scm/git (renamed from Library/ENV/scm/git) | 4 | ||||
| l--------- | Library/Homebrew/shims/scm/svn (renamed from Library/ENV/scm/svn) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/ant (renamed from Library/ENV/4.3/ant) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/apr-1-config (renamed from Library/ENV/4.3/apr-1-config) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/bsdmake (renamed from Library/ENV/4.3/bsdmake) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/c++ (renamed from Library/ENV/4.3/c++) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/c89 (renamed from Library/ENV/4.3/c89) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/c99 (renamed from Library/ENV/4.3/c99) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/cc (renamed from Library/ENV/4.3/cc) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/clang (renamed from Library/ENV/4.3/clang) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/clang++ (renamed from Library/ENV/4.3/clang++) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/cpp (renamed from Library/ENV/4.3/cpp) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++ (renamed from Library/ENV/4.3/g++) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.2 (renamed from Library/ENV/4.3/g++-4.2) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.3 (renamed from Library/ENV/4.3/g++-4.3) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.4 (renamed from Library/ENV/4.3/g++-4.4) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.5 (renamed from Library/ENV/4.3/g++-4.5) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.6 (renamed from Library/ENV/4.3/g++-4.6) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.7 (renamed from Library/ENV/4.3/g++-4.7) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.8 (renamed from Library/ENV/4.3/g++-4.8) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-4.9 (renamed from Library/ENV/4.3/g++-4.9) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-5 (renamed from Library/ENV/4.3/g++-5) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/g++-6 (renamed from Library/ENV/4.3/g++-6) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc (renamed from Library/ENV/4.3/gcc) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.2 (renamed from Library/ENV/4.3/gcc-4.2) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.3 (renamed from Library/ENV/4.3/gcc-4.3) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.4 (renamed from Library/ENV/4.3/gcc-4.4) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.5 (renamed from Library/ENV/4.3/gcc-4.5) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.6 (renamed from Library/ENV/4.3/gcc-4.6) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.7 (renamed from Library/ENV/4.3/gcc-4.7) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.8 (renamed from Library/ENV/4.3/gcc-4.8) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-4.9 (renamed from Library/ENV/4.3/gcc-4.9) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-5 (renamed from Library/ENV/4.3/gcc-5) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gcc-6 (renamed from Library/ENV/4.3/gcc-6) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/git (renamed from Library/ENV/4.3/git) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/gmake (renamed from Library/ENV/4.3/gmake) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/i686-apple-darwin11-llvm-g++-4.2 (renamed from Library/ENV/4.3/i686-apple-darwin11-llvm-g++-4.2) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/i686-apple-darwin11-llvm-gcc-4.2 (renamed from Library/ENV/4.3/i686-apple-darwin11-llvm-gcc-4.2) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/ld (renamed from Library/ENV/4.3/ld) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/llvm-g++ (renamed from Library/ENV/4.3/llvm-g++) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/llvm-g++-4.2 (renamed from Library/ENV/4.3/llvm-g++-4.2) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/llvm-gcc (renamed from Library/ENV/4.3/llvm-gcc) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/llvm-gcc-4.2 (renamed from Library/ENV/4.3/llvm-gcc-4.2) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/make (renamed from Library/ENV/4.3/make) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/mig (renamed from Library/ENV/4.3/mig) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/pod2man (renamed from Library/ENV/4.3/pod2man) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/sed (renamed from Library/ENV/4.3/sed) | 0 | ||||
| l--------- | Library/Homebrew/shims/super/svn (renamed from Library/ENV/4.3/svn) | 0 | ||||
| -rwxr-xr-x | Library/Homebrew/shims/super/xcrun (renamed from Library/ENV/4.3/xcrun) | 0 | ||||
| -rw-r--r-- | Library/Homebrew/test/lib/config.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/utils/git.rb | 6 | ||||
| -rw-r--r-- | Library/brew.rb | 2 | ||||
| -rw-r--r-- | Library/brew.sh | 2 |
98 files changed, 15 insertions, 17 deletions
diff --git a/Library/ENV/3.2.6 b/Library/ENV/3.2.6 deleted file mode 120000 index 89f71c74c..000000000 --- a/Library/ENV/3.2.6 +++ /dev/null @@ -1 +0,0 @@ -4.3
\ No newline at end of file diff --git a/Library/ENV/4.2 b/Library/ENV/4.2 deleted file mode 120000 index 89f71c74c..000000000 --- a/Library/ENV/4.2 +++ /dev/null @@ -1 +0,0 @@ -4.3
\ No newline at end of file diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index 0d6a0fc06..49a15864f 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -14,7 +14,7 @@ source "$HOMEBREW_LIBRARY/Homebrew/utils/lock.sh" git() { if [[ -z "$GIT_EXECUTABLE" ]] then - GIT_EXECUTABLE="$("$HOMEBREW_LIBRARY/ENV/scm/git" --homebrew=print-path)" + GIT_EXECUTABLE="$("$HOMEBREW_LIBRARY/Homebrew/scm/git" --homebrew=print-path)" fi "$GIT_EXECUTABLE" "$@" } diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index 5ba079394..70a2386a9 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -14,8 +14,8 @@ HOMEBREW_REPOSITORY = Pathname.new(ENV["HOMEBREW_REPOSITORY"]) # Where we store most of Homebrew, taps, and various metadata HOMEBREW_LIBRARY = Pathname.new(ENV["HOMEBREW_LIBRARY"]) -# Where wrapper scripts for Git, Subversion, and various build tools are stored -HOMEBREW_ENV_PATH = HOMEBREW_LIBRARY/"ENV" +# Where shim scripts for various build and SCM tools are stored +HOMEBREW_SHIMS_PATH = HOMEBREW_LIBRARY/"Homebrew/shims" # Where we store lock files HOMEBREW_LOCK_DIR = HOMEBREW_LIBRARY/"Locks" diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb index 3485e2ce7..0b60e2472 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb @@ -31,7 +31,7 @@ module Stdenv end def homebrew_extra_pkg_config_paths - ["#{HOMEBREW_ENV_PATH}/pkgconfig/#{MacOS.version}"] + ["#{HOMEBREW_LIBRARY_PATH}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"] end # Sets architecture-specific flags for every environment variable diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 77625f455..acd2efa62 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -3,8 +3,7 @@ module Superenv def self.bin return unless DevelopmentTools.installed? - bin = HOMEBREW_ENV_PATH.subdirs.reject { |d| d.basename.to_s > MacOS::Xcode.version }.max - bin.realpath unless bin.nil? + (HOMEBREW_SHIMS_PATH/"super").realpath end def effective_sysroot @@ -26,7 +25,8 @@ module Superenv # @private def homebrew_extra_pkg_config_paths - paths = ["#{HOMEBREW_ENV_PATH}/pkgconfig/#{MacOS.version}"] + paths = \ + ["#{HOMEBREW_LIBRARY_PATH}/Homebrew/os/mac/pkgconfig/#{MacOS.version}"] paths << "#{MacOS::X11.lib}/pkgconfig" << "#{MacOS::X11.share}/pkgconfig" if x11? paths end diff --git a/Library/ENV/pkgconfig/10.10/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/libcurl.pc index c11921350..c11921350 100644 --- a/Library/ENV/pkgconfig/10.10/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.10/libexslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/libexslt.pc index 48127cca1..48127cca1 100644 --- a/Library/ENV/pkgconfig/10.10/libexslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/libexslt.pc diff --git a/Library/ENV/pkgconfig/10.10/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/libxml-2.0.pc index d0f1d3b96..d0f1d3b96 100644 --- a/Library/ENV/pkgconfig/10.10/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/libxml-2.0.pc diff --git a/Library/ENV/pkgconfig/10.10/libxslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/libxslt.pc index 1bba1e368..1bba1e368 100644 --- a/Library/ENV/pkgconfig/10.10/libxslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/libxslt.pc diff --git a/Library/ENV/pkgconfig/10.10/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/sqlite3.pc index a80a074ed..a80a074ed 100644 --- a/Library/ENV/pkgconfig/10.10/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.10/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.10/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.10/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.10/zlib.pc diff --git a/Library/ENV/pkgconfig/10.11/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/libcurl.pc index 34002ab9e..34002ab9e 100644 --- a/Library/ENV/pkgconfig/10.11/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.11/libexslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/libexslt.pc index 16276f715..16276f715 100644 --- a/Library/ENV/pkgconfig/10.11/libexslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/libexslt.pc diff --git a/Library/ENV/pkgconfig/10.11/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/libxml-2.0.pc index 555f6f2c3..555f6f2c3 100644 --- a/Library/ENV/pkgconfig/10.11/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/libxml-2.0.pc diff --git a/Library/ENV/pkgconfig/10.11/libxslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/libxslt.pc index 68df2c96f..68df2c96f 100644 --- a/Library/ENV/pkgconfig/10.11/libxslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/libxslt.pc diff --git a/Library/ENV/pkgconfig/10.11/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/sqlite3.pc index 820f65f17..820f65f17 100644 --- a/Library/ENV/pkgconfig/10.11/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.11/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.11/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.11/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.11/zlib.pc diff --git a/Library/ENV/pkgconfig/10.12/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/libcurl.pc index 1d23afdef..1d23afdef 100644 --- a/Library/ENV/pkgconfig/10.12/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.12/libexslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/libexslt.pc index 16276f715..16276f715 100644 --- a/Library/ENV/pkgconfig/10.12/libexslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/libexslt.pc diff --git a/Library/ENV/pkgconfig/10.12/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/libxml-2.0.pc index 9ae964548..9ae964548 100644 --- a/Library/ENV/pkgconfig/10.12/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/libxml-2.0.pc diff --git a/Library/ENV/pkgconfig/10.12/libxslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/libxslt.pc index 92d07a988..92d07a988 100644 --- a/Library/ENV/pkgconfig/10.12/libxslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/libxslt.pc diff --git a/Library/ENV/pkgconfig/10.12/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/sqlite3.pc index 98c1575eb..98c1575eb 100644 --- a/Library/ENV/pkgconfig/10.12/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.12/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.12/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.12/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.12/zlib.pc diff --git a/Library/ENV/pkgconfig/10.4 b/Library/Homebrew/os/mac/pkgconfig/10.4 index 41c25a186..41c25a186 120000 --- a/Library/ENV/pkgconfig/10.4 +++ b/Library/Homebrew/os/mac/pkgconfig/10.4 diff --git a/Library/ENV/pkgconfig/10.5/libcrypto.pc b/Library/Homebrew/os/mac/pkgconfig/10.5/libcrypto.pc index 26cd08be3..26cd08be3 100644 --- a/Library/ENV/pkgconfig/10.5/libcrypto.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.5/libcrypto.pc diff --git a/Library/ENV/pkgconfig/10.5/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.5/libcurl.pc index a93a80294..a93a80294 100644 --- a/Library/ENV/pkgconfig/10.5/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.5/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.6/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.6/sqlite3.pc index 8e0269ed6..8e0269ed6 100644 --- a/Library/ENV/pkgconfig/10.6/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.6/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.6/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.6/zlib.pc index 47b08b1ea..47b08b1ea 100644 --- a/Library/ENV/pkgconfig/10.6/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.6/zlib.pc diff --git a/Library/ENV/pkgconfig/10.7/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.7/sqlite3.pc index 36daed3d3..36daed3d3 100644 --- a/Library/ENV/pkgconfig/10.7/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.7/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.7/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.7/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.7/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.7/zlib.pc diff --git a/Library/ENV/pkgconfig/10.8/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/libcurl.pc index 04a729eef..04a729eef 100644 --- a/Library/ENV/pkgconfig/10.8/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.8/libexslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/libexslt.pc index a4214673b..a4214673b 100644 --- a/Library/ENV/pkgconfig/10.8/libexslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/libexslt.pc diff --git a/Library/ENV/pkgconfig/10.8/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/libxml-2.0.pc index 02a359e55..02a359e55 100644 --- a/Library/ENV/pkgconfig/10.8/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/libxml-2.0.pc diff --git a/Library/ENV/pkgconfig/10.8/libxslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/libxslt.pc index a52e9aacd..a52e9aacd 100644 --- a/Library/ENV/pkgconfig/10.8/libxslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/libxslt.pc diff --git a/Library/ENV/pkgconfig/10.8/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/sqlite3.pc index 28a75568c..28a75568c 100644 --- a/Library/ENV/pkgconfig/10.8/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.8/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.8/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.8/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.8/zlib.pc diff --git a/Library/ENV/pkgconfig/10.9/libcurl.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/libcurl.pc index fe7892143..fe7892143 100644 --- a/Library/ENV/pkgconfig/10.9/libcurl.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/libcurl.pc diff --git a/Library/ENV/pkgconfig/10.9/libexslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/libexslt.pc index 48127cca1..48127cca1 100644 --- a/Library/ENV/pkgconfig/10.9/libexslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/libexslt.pc diff --git a/Library/ENV/pkgconfig/10.9/libxml-2.0.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/libxml-2.0.pc index d0f1d3b96..d0f1d3b96 100644 --- a/Library/ENV/pkgconfig/10.9/libxml-2.0.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/libxml-2.0.pc diff --git a/Library/ENV/pkgconfig/10.9/libxslt.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/libxslt.pc index 1bba1e368..1bba1e368 100644 --- a/Library/ENV/pkgconfig/10.9/libxslt.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/libxslt.pc diff --git a/Library/ENV/pkgconfig/10.9/sqlite3.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/sqlite3.pc index 08588adc7..08588adc7 100644 --- a/Library/ENV/pkgconfig/10.9/sqlite3.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/sqlite3.pc diff --git a/Library/ENV/pkgconfig/10.9/zlib.pc b/Library/Homebrew/os/mac/pkgconfig/10.9/zlib.pc index c7bef6a9f..c7bef6a9f 100644 --- a/Library/ENV/pkgconfig/10.9/zlib.pc +++ b/Library/Homebrew/os/mac/pkgconfig/10.9/zlib.pc diff --git a/Library/ENV/pkgconfig/fuse/fuse.pc b/Library/Homebrew/os/mac/pkgconfig/fuse/fuse.pc index 30b17c659..30b17c659 120000 --- a/Library/ENV/pkgconfig/fuse/fuse.pc +++ b/Library/Homebrew/os/mac/pkgconfig/fuse/fuse.pc diff --git a/Library/ENV/pkgconfig/fuse/osxfuse.pc b/Library/Homebrew/os/mac/pkgconfig/fuse/osxfuse.pc index 153a5d6e2..153a5d6e2 120000 --- a/Library/ENV/pkgconfig/fuse/osxfuse.pc +++ b/Library/Homebrew/os/mac/pkgconfig/fuse/osxfuse.pc diff --git a/Library/ENV/scm/git b/Library/Homebrew/shims/scm/git index f277f6bb9..10950ef07 100755 --- a/Library/ENV/scm/git +++ b/Library/Homebrew/shims/scm/git @@ -65,8 +65,8 @@ safe_exec() { } SCM_FILE="${0##*/}" -SCM_DIR="$(quiet_safe_cd "${0%/*}/" && pwd -P)" SCM_REAL="$(realpath "$0")" +SCM_DIR="$(quiet_safe_cd "${SCM_REAL%/*}/" && pwd -P)" if [[ "$1" = --homebrew=* ]] then @@ -84,7 +84,7 @@ case "$(lowercase "$SCM_FILE")" in ;; esac -brew_version="$(quiet_safe_cd "$SCM_DIR/../../../bin" && pwd -P)/$SCM_FILE" +brew_version="$(quiet_safe_cd "$SCM_DIR/../../../../bin" && pwd -P)/$SCM_FILE" safe_exec "$brew_version" "$@" IFS=$'\n' diff --git a/Library/ENV/scm/svn b/Library/Homebrew/shims/scm/svn index 0899c2993..0899c2993 120000 --- a/Library/ENV/scm/svn +++ b/Library/Homebrew/shims/scm/svn diff --git a/Library/ENV/4.3/ant b/Library/Homebrew/shims/super/ant index f54bc2747..f54bc2747 100755 --- a/Library/ENV/4.3/ant +++ b/Library/Homebrew/shims/super/ant diff --git a/Library/ENV/4.3/apr-1-config b/Library/Homebrew/shims/super/apr-1-config index 40ad6478e..40ad6478e 100755 --- a/Library/ENV/4.3/apr-1-config +++ b/Library/Homebrew/shims/super/apr-1-config diff --git a/Library/ENV/4.3/bsdmake b/Library/Homebrew/shims/super/bsdmake index b61e1b2bc..b61e1b2bc 100755 --- a/Library/ENV/4.3/bsdmake +++ b/Library/Homebrew/shims/super/bsdmake diff --git a/Library/ENV/4.3/c++ b/Library/Homebrew/shims/super/c++ index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/c++ +++ b/Library/Homebrew/shims/super/c++ diff --git a/Library/ENV/4.3/c89 b/Library/Homebrew/shims/super/c89 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/c89 +++ b/Library/Homebrew/shims/super/c89 diff --git a/Library/ENV/4.3/c99 b/Library/Homebrew/shims/super/c99 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/c99 +++ b/Library/Homebrew/shims/super/c99 diff --git a/Library/ENV/4.3/cc b/Library/Homebrew/shims/super/cc index e7ab6500f..e7ab6500f 100755 --- a/Library/ENV/4.3/cc +++ b/Library/Homebrew/shims/super/cc diff --git a/Library/ENV/4.3/clang b/Library/Homebrew/shims/super/clang index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/clang +++ b/Library/Homebrew/shims/super/clang diff --git a/Library/ENV/4.3/clang++ b/Library/Homebrew/shims/super/clang++ index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/clang++ +++ b/Library/Homebrew/shims/super/clang++ diff --git a/Library/ENV/4.3/cpp b/Library/Homebrew/shims/super/cpp index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/cpp +++ b/Library/Homebrew/shims/super/cpp diff --git a/Library/ENV/4.3/g++ b/Library/Homebrew/shims/super/g++ index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++ +++ b/Library/Homebrew/shims/super/g++ diff --git a/Library/ENV/4.3/g++-4.2 b/Library/Homebrew/shims/super/g++-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.2 +++ b/Library/Homebrew/shims/super/g++-4.2 diff --git a/Library/ENV/4.3/g++-4.3 b/Library/Homebrew/shims/super/g++-4.3 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.3 +++ b/Library/Homebrew/shims/super/g++-4.3 diff --git a/Library/ENV/4.3/g++-4.4 b/Library/Homebrew/shims/super/g++-4.4 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.4 +++ b/Library/Homebrew/shims/super/g++-4.4 diff --git a/Library/ENV/4.3/g++-4.5 b/Library/Homebrew/shims/super/g++-4.5 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.5 +++ b/Library/Homebrew/shims/super/g++-4.5 diff --git a/Library/ENV/4.3/g++-4.6 b/Library/Homebrew/shims/super/g++-4.6 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.6 +++ b/Library/Homebrew/shims/super/g++-4.6 diff --git a/Library/ENV/4.3/g++-4.7 b/Library/Homebrew/shims/super/g++-4.7 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.7 +++ b/Library/Homebrew/shims/super/g++-4.7 diff --git a/Library/ENV/4.3/g++-4.8 b/Library/Homebrew/shims/super/g++-4.8 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.8 +++ b/Library/Homebrew/shims/super/g++-4.8 diff --git a/Library/ENV/4.3/g++-4.9 b/Library/Homebrew/shims/super/g++-4.9 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-4.9 +++ b/Library/Homebrew/shims/super/g++-4.9 diff --git a/Library/ENV/4.3/g++-5 b/Library/Homebrew/shims/super/g++-5 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-5 +++ b/Library/Homebrew/shims/super/g++-5 diff --git a/Library/ENV/4.3/g++-6 b/Library/Homebrew/shims/super/g++-6 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/g++-6 +++ b/Library/Homebrew/shims/super/g++-6 diff --git a/Library/ENV/4.3/gcc b/Library/Homebrew/shims/super/gcc index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc +++ b/Library/Homebrew/shims/super/gcc diff --git a/Library/ENV/4.3/gcc-4.2 b/Library/Homebrew/shims/super/gcc-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.2 +++ b/Library/Homebrew/shims/super/gcc-4.2 diff --git a/Library/ENV/4.3/gcc-4.3 b/Library/Homebrew/shims/super/gcc-4.3 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.3 +++ b/Library/Homebrew/shims/super/gcc-4.3 diff --git a/Library/ENV/4.3/gcc-4.4 b/Library/Homebrew/shims/super/gcc-4.4 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.4 +++ b/Library/Homebrew/shims/super/gcc-4.4 diff --git a/Library/ENV/4.3/gcc-4.5 b/Library/Homebrew/shims/super/gcc-4.5 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.5 +++ b/Library/Homebrew/shims/super/gcc-4.5 diff --git a/Library/ENV/4.3/gcc-4.6 b/Library/Homebrew/shims/super/gcc-4.6 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.6 +++ b/Library/Homebrew/shims/super/gcc-4.6 diff --git a/Library/ENV/4.3/gcc-4.7 b/Library/Homebrew/shims/super/gcc-4.7 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.7 +++ b/Library/Homebrew/shims/super/gcc-4.7 diff --git a/Library/ENV/4.3/gcc-4.8 b/Library/Homebrew/shims/super/gcc-4.8 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.8 +++ b/Library/Homebrew/shims/super/gcc-4.8 diff --git a/Library/ENV/4.3/gcc-4.9 b/Library/Homebrew/shims/super/gcc-4.9 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-4.9 +++ b/Library/Homebrew/shims/super/gcc-4.9 diff --git a/Library/ENV/4.3/gcc-5 b/Library/Homebrew/shims/super/gcc-5 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-5 +++ b/Library/Homebrew/shims/super/gcc-5 diff --git a/Library/ENV/4.3/gcc-6 b/Library/Homebrew/shims/super/gcc-6 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/gcc-6 +++ b/Library/Homebrew/shims/super/gcc-6 diff --git a/Library/ENV/4.3/git b/Library/Homebrew/shims/super/git index ba71181a5..ba71181a5 120000 --- a/Library/ENV/4.3/git +++ b/Library/Homebrew/shims/super/git diff --git a/Library/ENV/4.3/gmake b/Library/Homebrew/shims/super/gmake index ac08cdcf9..ac08cdcf9 120000 --- a/Library/ENV/4.3/gmake +++ b/Library/Homebrew/shims/super/gmake diff --git a/Library/ENV/4.3/i686-apple-darwin11-llvm-g++-4.2 b/Library/Homebrew/shims/super/i686-apple-darwin11-llvm-g++-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/i686-apple-darwin11-llvm-g++-4.2 +++ b/Library/Homebrew/shims/super/i686-apple-darwin11-llvm-g++-4.2 diff --git a/Library/ENV/4.3/i686-apple-darwin11-llvm-gcc-4.2 b/Library/Homebrew/shims/super/i686-apple-darwin11-llvm-gcc-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/i686-apple-darwin11-llvm-gcc-4.2 +++ b/Library/Homebrew/shims/super/i686-apple-darwin11-llvm-gcc-4.2 diff --git a/Library/ENV/4.3/ld b/Library/Homebrew/shims/super/ld index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/ld +++ b/Library/Homebrew/shims/super/ld diff --git a/Library/ENV/4.3/llvm-g++ b/Library/Homebrew/shims/super/llvm-g++ index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/llvm-g++ +++ b/Library/Homebrew/shims/super/llvm-g++ diff --git a/Library/ENV/4.3/llvm-g++-4.2 b/Library/Homebrew/shims/super/llvm-g++-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/llvm-g++-4.2 +++ b/Library/Homebrew/shims/super/llvm-g++-4.2 diff --git a/Library/ENV/4.3/llvm-gcc b/Library/Homebrew/shims/super/llvm-gcc index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/llvm-gcc +++ b/Library/Homebrew/shims/super/llvm-gcc diff --git a/Library/ENV/4.3/llvm-gcc-4.2 b/Library/Homebrew/shims/super/llvm-gcc-4.2 index 2652f5f42..2652f5f42 120000 --- a/Library/ENV/4.3/llvm-gcc-4.2 +++ b/Library/Homebrew/shims/super/llvm-gcc-4.2 diff --git a/Library/ENV/4.3/make b/Library/Homebrew/shims/super/make index f7089de36..f7089de36 100755 --- a/Library/ENV/4.3/make +++ b/Library/Homebrew/shims/super/make diff --git a/Library/ENV/4.3/mig b/Library/Homebrew/shims/super/mig index a7a12557a..a7a12557a 100755 --- a/Library/ENV/4.3/mig +++ b/Library/Homebrew/shims/super/mig diff --git a/Library/ENV/4.3/pod2man b/Library/Homebrew/shims/super/pod2man index 8e83f4bcb..8e83f4bcb 100755 --- a/Library/ENV/4.3/pod2man +++ b/Library/Homebrew/shims/super/pod2man diff --git a/Library/ENV/4.3/sed b/Library/Homebrew/shims/super/sed index 420e39669..420e39669 100755 --- a/Library/ENV/4.3/sed +++ b/Library/Homebrew/shims/super/sed diff --git a/Library/ENV/4.3/svn b/Library/Homebrew/shims/super/svn index e1231dfaa..e1231dfaa 120000 --- a/Library/ENV/4.3/svn +++ b/Library/Homebrew/shims/super/svn diff --git a/Library/ENV/4.3/xcrun b/Library/Homebrew/shims/super/xcrun index 128f40ba2..128f40ba2 100755 --- a/Library/ENV/4.3/xcrun +++ b/Library/Homebrew/shims/super/xcrun diff --git a/Library/Homebrew/test/lib/config.rb b/Library/Homebrew/test/lib/config.rb index 91ef9fe8a..062bed33b 100644 --- a/Library/Homebrew/test/lib/config.rb +++ b/Library/Homebrew/test/lib/config.rb @@ -12,7 +12,7 @@ TEST_TMPDIR = ENV.fetch("HOMEBREW_TEST_TMPDIR") { |k| # Paths pointing into the Homebrew code base that persist across test runs HOMEBREW_LIBRARY_PATH = Pathname.new(File.expand_path("../../..", __FILE__)) -HOMEBREW_ENV_PATH = HOMEBREW_LIBRARY_PATH.parent+"ENV" +HOMEBREW_SHIMS_PATH = HOMEBREW_LIBRARY_PATH.parent+"Homebrew/shims" HOMEBREW_LOAD_PATH = [File.expand_path("..", __FILE__), HOMEBREW_LIBRARY_PATH].join(":") # Paths redirected to a temporary directory and wiped at the end of the test run diff --git a/Library/Homebrew/utils/git.rb b/Library/Homebrew/utils/git.rb index b4d86eb8a..837cc22e4 100644 --- a/Library/Homebrew/utils/git.rb +++ b/Library/Homebrew/utils/git.rb @@ -1,20 +1,20 @@ module Utils def self.git_available? return @git if instance_variable_defined?(:@git) - @git = quiet_system HOMEBREW_ENV_PATH/"scm/git", "--version" + @git = quiet_system HOMEBREW_SHIMS_PATH/"scm/git", "--version" end def self.git_path return unless git_available? @git_path ||= Utils.popen_read( - HOMEBREW_ENV_PATH/"scm/git", "--homebrew=print-path" + HOMEBREW_SHIMS_PATH/"scm/git", "--homebrew=print-path" ).chuzzle end def self.git_version return unless git_available? @git_version ||= Utils.popen_read( - HOMEBREW_ENV_PATH/"scm/git", "--version" + HOMEBREW_SHIMS_PATH/"scm/git", "--version" ).chomp[/git version (\d+(?:\.\d+)*)/, 1] end diff --git a/Library/brew.rb b/Library/brew.rb index c06aa735e..9110d5db0 100644 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -55,7 +55,7 @@ begin end # Add SCM wrappers. - ENV["PATH"] += "#{File::PATH_SEPARATOR}#{HOMEBREW_ENV_PATH}/scm" + ENV["PATH"] += "#{File::PATH_SEPARATOR}#{HOMEBREW_SHIMS_PATH}/scm" if cmd internal_cmd = require? HOMEBREW_LIBRARY_PATH.join("cmd", cmd) diff --git a/Library/brew.sh b/Library/brew.sh index 03eaa4390..5dd1ce630 100644 --- a/Library/brew.sh +++ b/Library/brew.sh @@ -29,7 +29,7 @@ brew() { } git() { - "$HOMEBREW_LIBRARY/ENV/scm/git" "$@" + "$HOMEBREW_LIBRARY/Homebrew/shims/scm/git" "$@" } # Force UTF-8 to avoid encoding issues for users with broken locale settings. |
