diff options
| author | Max Howell | 2012-09-02 11:21:07 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-02 11:22:12 -0400 |
| commit | c36f79c79a7ba49c396e9957b5ca167edfd78363 (patch) | |
| tree | 1be28f668aa31afbb35dc5fe60a748d1c046fc4f /Library/ENV | |
| parent | 2375f71e8227efc7cec1400c5c4cf686b9ac2d0e (diff) | |
| download | brew-c36f79c79a7ba49c396e9957b5ca167edfd78363.tar.bz2 | |
bsdmake is *not* provided by Xcode/CLT
Fixes Homebrew/homebrew#14626.
Also make proctools install do prefixes other than /usr/local.
Diffstat (limited to 'Library/ENV')
| -rwxr-xr-x | Library/ENV/4.3/make | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make index 7e5196e6a..5ec9dceb1 100755 --- a/Library/ENV/4.3/make +++ b/Library/ENV/4.3/make @@ -1,3 +1,8 @@ #!/bin/sh export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG" -exec xcrun make "$@" +if [ $(basename "$0") == "bsdmake" ]; then + pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + exec "$pwd/../../../bin/bsdmake" "$@" +else + exec xcrun make "$@" +fi |
