brew/Library/ENV/4.3/bsdmake
Jack Nagel c84f7d0ab2 Revert "Revert "Split bsdmake wrapper out from make wrapper""
I think enough time has passed that it is safe to do this now.

This reverts commit 1003161a848970e782633959904ea776dda7e48b.
2013-12-04 00:37:57 -06:00

8 lines
302 B
Bash
Executable File

#!/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" "$@"