Commit 0eb725b0 authored by Alexis Ballier's avatar Alexis Ballier Committed by Rémi Denis-Courmont

check_headers: fix regular expression

This broke depending on the locale (LC_COLLATE).
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 69c8e6de
...@@ -6,7 +6,7 @@ cd "$(dirname "$0")" || exit $? ...@@ -6,7 +6,7 @@ cd "$(dirname "$0")" || exit $?
# Look for configure #defines in public headers. # Look for configure #defines in public headers.
# There are incorrect, as external users don't have our <config.h>. # There are incorrect, as external users don't have our <config.h>.
regexp="$(cat ../config.h.in | \ regexp="$(cat ../config.h.in | \
sed -n -e 's/^#undef \([A-Z0-9_]*\)$/\1/p' | \ sed -n -e 's/^#undef \([[:upper:][:digit:]_]*\)$/\1/p' | \
grep -v 'WORDS_BIGENDIAN' | \ grep -v 'WORDS_BIGENDIAN' | \
grep -v 'UNICODE' | \ grep -v 'UNICODE' | \
grep -v '__LIBVLC__' | \ grep -v '__LIBVLC__' | \
......
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