Merge pull request #15672 from Bo98/make-fix
shims/mac/super/make: use standard exec routines
This commit is contained in:
commit
e45c289470
@ -1,12 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# HOMEBREW_LIBRARY is set by bin/brew
|
||||
# shellcheck disable=SC2154
|
||||
source "${HOMEBREW_LIBRARY}/Homebrew/shims/utils.sh"
|
||||
|
||||
export HOMEBREW_CCCFG="O${HOMEBREW_CCCFG}"
|
||||
|
||||
SHIM_FILE="${0##*/}"
|
||||
|
||||
if xcrun --find "${SHIM_FILE}" &>/dev/null
|
||||
then
|
||||
exec xcrun "${SHIM_FILE}" "$@"
|
||||
else
|
||||
exec xcrun make "$@"
|
||||
fi
|
||||
try_exec_non_system "${SHIM_FILE}" "$@"
|
||||
safe_exec "/usr/bin/make" "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user