From: Eric Engestrom Date: Thu, 1 Nov 2018 16:40:28 +0000 (+0000) Subject: egl: use the LC_ALL hammer instead of LANG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4da169d36855780f0cf1b23eaf4ce87ab7b51ef1;p=mesa.git 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 Fixes: b42dc50a5f1b22103b26 "egl: fix entrypoint sorting test" Signed-off-by: Eric Engestrom Reviewed-by: Michel Dänzer --- diff --git a/src/egl/egl-entrypoint-check b/src/egl/egl-entrypoint-check index bb7d6a777a7..d6a42722a44 100755 --- a/src/egl/egl-entrypoint-check +++ b/src/egl/egl-entrypoint-check @@ -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"