bsdmake is *not* provided by Xcode/CLT

Fixes Homebrew/homebrew#14626.

Also make proctools install do prefixes other than /usr/local.
This commit is contained in:
Max Howell 2012-09-02 11:21:07 -04:00
parent 2375f71e82
commit c36f79c79a

View File

@ -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