aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-x[l---------]Library/ENV/4.3/bsdmake8
-rwxr-xr-xLibrary/ENV/4.3/make10
2 files changed, 8 insertions, 10 deletions
diff --git a/Library/ENV/4.3/bsdmake b/Library/ENV/4.3/bsdmake
index ac08cdcf9..72adb0941 120000..100755
--- a/Library/ENV/4.3/bsdmake
+++ b/Library/ENV/4.3/bsdmake
@@ -1 +1,7 @@
-make \ No newline at end of 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" "$@"
diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make
index 1d717718b..f7089de36 100755
--- a/Library/ENV/4.3/make
+++ b/Library/ENV/4.3/make
@@ -1,11 +1,3 @@
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
-if [ $(basename "$0") == "bsdmake" ]; then
- 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
+exec xcrun make "$@"