]> git.sesse.net Git - vlc/commitdiff
check_headers: fix regular expression
authorAlexis Ballier <aballier@gentoo.org>
Fri, 5 Apr 2013 15:09:52 +0000 (18:09 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 5 Apr 2013 15:09:52 +0000 (18:09 +0300)
This broke depending on the locale (LC_COLLATE).

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
src/check_headers

index 63b009fbf10c40df1bcd9c620fd6596edb841241..d0b4bb765a6c89fc610db521b2d995fb5ab8c90b 100755 (executable)
@@ -6,7 +6,7 @@ cd "$(dirname "$0")" || exit $?
 # Look for configure #defines in public headers.
 # There are incorrect, as external users don't have our <config.h>.
 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 'UNICODE' | \
        grep -v '__LIBVLC__' | \