aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-05 01:58:34 -0500
committerJack Nagel2014-12-05 11:01:11 -0500
commite4461afd36f04b1cd3cf56ec0636202150ce0570 (patch)
tree99ff71bdace20355f55a9d4b219b58659859b361 /Library
parentc808f6629a5f2ccd522a1cdef2e1caad802d31c2 (diff)
downloadhomebrew-e4461afd36f04b1cd3cf56ec0636202150ce0570.tar.bz2
Simplify bsdmake wrapper
Since bsdmake is always specified as a dependency, our xcrun wrapper will always be able to find it, so we can get rid of this wrapper.
Diffstat (limited to 'Library')
l---------[-rwxr-xr-x]Library/ENV/4.3/bsdmake8
-rwxr-xr-xLibrary/ENV/4.3/make2
2 files changed, 2 insertions, 8 deletions
diff --git a/Library/ENV/4.3/bsdmake b/Library/ENV/4.3/bsdmake
index 72adb0941..ac08cdcf9 100755..120000
--- a/Library/ENV/4.3/bsdmake
+++ b/Library/ENV/4.3/bsdmake
@@ -1,7 +1 @@
-#!/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" "$@"
+make \ No newline at end of file
diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make
index f7089de36..fa7a19817 100755
--- a/Library/ENV/4.3/make
+++ b/Library/ENV/4.3/make
@@ -1,3 +1,3 @@
#!/bin/bash
export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG"
-exec xcrun make "$@"
+exec xcrun "${0##*/}" "$@"