Commit 4da169d3 authored by Eric Engestrom's avatar Eric Engestrom 💤
Browse files

egl: use the LC_ALL hammer instead of LANG

Some environment (like Travis apparently) set LC_* vars, messing up the
sort ordering, so let's use envvar with the highest priority to make
sure this is actually sorted in ASCII order.
Suggested-by: Michel Dänzer's avatarMichel Dänzer <>
Fixes: b42dc50a

 "egl: fix entrypoint sorting test"
Signed-off-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
parent b42dc50a
......@@ -7,5 +7,5 @@ then
entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h)
sorted=$(LANG=C sort <<< "$entrypoints")
sorted=$(LC_ALL=C sort <<< "$entrypoints")
test "$entrypoints" = "$sorted"
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