vsimon / webrtcbuilds

Getting started with WebRTC natively is no easy picnic. The goal of webrtcbuilds is to provide a single standalone WebRTC static library and package.
BSD 3-Clause "New" or "Revised" License
202 stars 164 forks source link

Fail to compile on mac #93

Open timfuze opened 5 years ago

timfuze commented 5 years ago

on current mac, building with specific build is failing due to usage of --lines and --fields.

REVISION=$(git ls-remote $REPO_URL --heads $BRANCH | head --lines 1 | cut --fields 1) || \

simple change to this works

REVISION=$(git ls-remote $REPO_URL --heads $BRANCH | head -n 1 | cut -f 1) || \