Simplify bsdmake wrapper, take 2
This commit is contained in:
parent
d85d5fba22
commit
72c21fe991
@ -1,7 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
|
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
|
||||||
pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
exec xcrun bsdmake "$@"
|
||||||
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" "$@"
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user