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
commitfed9c9a9bec870929c2a646e97096c277ae148f8 (patch)
tree5e93ab6d2b783195dd621bc549c5fcd2aab240d2 /Library
parent0d2ae7147c95c623fa846d95ab57d79defd03142 (diff)
downloadbrew-fed9c9a9bec870929c2a646e97096c277ae148f8.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##*/}" "$@"