diff options
author | Corey Farrell <git@cfware.com> | 2017-11-19 10:57:28 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2017-11-19 14:27:28 -0500 |
commit | 69113388e9e533b731168087cf86c5557749adcd (patch) | |
tree | df493b707f6d03788d451aad6032ad17546bcbcc /build_tools | |
parent | ef8ee3ee69fb1b2f9bb2694217d8dfdf124d251f (diff) |
Build: Fix OSX build issues.
OSX does not support 'readlink -f' or 'sed -r'. Replace readlink with
the GNU make macro 'realpath'. Replace sed with grep in one place, cut
in the other.
ASTERISK-27332
Change-Id: I5d34ecca905384decb22ead45c913ae5e8aff748
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/list_valid_installed_externals | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/list_valid_installed_externals b/build_tools/list_valid_installed_externals index ed362743c..c37102208 100755 --- a/build_tools/list_valid_installed_externals +++ b/build_tools/list_valid_installed_externals @@ -6,7 +6,7 @@ fi set -e ASTTOPDIR=${ASTTOPDIR:-.} -export make=`sed -n -r -e "s/^MAKE\s*=\s*//gp" ${ASTTOPDIR}/makeopts` +export make=`sed -n -e "s/^MAKE\s*=\s*//gp" ${ASTTOPDIR}/makeopts` getvar() { $make --quiet --no-print-directory -f- <<EOF |