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:33:26 -0600 |
commit | b4f7f8250fb6a74b6ad69e2b02779cafb558aa0f (patch) | |
tree | d05b903c1da2d76bbba1167e83dda4e04847cb13 /third-party/pjproject/apply_patches | |
parent | 4181b6f3777655efa5f0523a8d2ab2b0e5e566fb (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 'third-party/pjproject/apply_patches')
-rwxr-xr-x | third-party/pjproject/apply_patches | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/third-party/pjproject/apply_patches b/third-party/pjproject/apply_patches index 5f9fde283..134bd306f 100755 --- a/third-party/pjproject/apply_patches +++ b/third-party/pjproject/apply_patches @@ -10,9 +10,6 @@ PATCH=${PATCH:-patch} patchdir=${1:?You must supply a patches directory} sourcedir=${2?:You must supply a source directory} -patchdir=`readlink -f $patchdir` -sourcedir=`readlink -f $sourcedir` - if [ ! -d "$patchdir" ] ; then echo "$patchdir is not a directory" >&2 exit 1 |