Commit 4da169d3 authored by Eric Engestrom's avatar Eric Engestrom

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 <michel@daenzer.net>
Fixes: b42dc50a "egl: fix entrypoint sorting test"
Signed-off-by: Eric Engestrom's avatarEric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
parent b42dc50a
......@@ -7,5 +7,5 @@ then
fi
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