Simplify bsdmake wrapper

Since bsdmake is always specified as a dependency, our xcrun wrapper
will always be able to find it, so we can get rid of this wrapper.
This commit is contained in:
Jack Nagel 2014-12-05 01:58:34 -05:00
parent 0d2ae7147c
commit fed9c9a9be
2 changed files with 2 additions and 8 deletions

View File

@ -1,7 +0,0 @@
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
bsd="$pwd/../../../bin/bsdmake"
# bsdmake used to be keg-only: support users who don't run brew doctor
[ -x "$bsd" ] || bsd="$(${HOMEBREW_BREW_FILE} --prefix bsdmake)/bin/bsdmake"
exec "$bsd" "$@"

1
Library/ENV/4.3/bsdmake Symbolic link
View File

@ -0,0 +1 @@
make

View File

@ -1,3 +1,3 @@
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
exec xcrun make "$@"
exec xcrun "${0##*/}" "$@"