Commit 85a11b9c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

src/check_symbols: Work around some sed implemention. (Especially Mac OS X's).

parent afdf4746
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
rm -f libvlc-headers.sym rm -f libvlc-headers.sym
cat ${srcdir}/../include/vlc_*.h | \ cat ${srcdir}/../include/vlc_*.h | \
sed -n -e 's/^VLC_EXPORT\s*([^,]*,\s*\([a-zA-Z0-9_]*\)\s*,.*$/\1/p' | \ sed -n -e 's/^\s*VLC_EXPORT\s*([^,]*,\([^,]*\).*).*/\1/p' | \
sed -e 's/[^a-zA-Z0-9_]*//' | \
sort -du > libvlc-headers.sym sort -du > libvlc-headers.sym
if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym; then if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment