Commit db9b5f82 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>
(cherry picked from commit 0eb725b018f441881706517c19fb8fa33ef7ccbe)
parent 04c92ff5
...@@ -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 '__LIBVLC__' | \ grep -v '__LIBVLC__' | \
xargs | \ xargs | \
......
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