tools: Fix gst-element-maker for MacOS
On MacOS, head
does not support negative values for -n
flag. This
will use sed
instead of head
to support MacOS and Linux at the same
time.
Edited by Ali Yousuf
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
On MacOS, head
does not support negative values for -n
flag. This
will use sed
instead of head
to support MacOS and Linux at the same
time.