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.
This commit is contained in:
parent
d18a4001b4
commit
c84f7d0ab2
@ -1 +0,0 @@
|
|||||||
make
|
|
||||||
7
Library/ENV/4.3/bsdmake
Executable file
7
Library/ENV/4.3/bsdmake
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/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,11 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
|
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
|
||||||
if [ $(basename "$0") == "bsdmake" ]; then
|
exec xcrun make "$@"
|
||||||
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" "$@"
|
|
||||||
else
|
|
||||||
exec xcrun make "$@"
|
|
||||||
fi
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user