From 4da169d36855780f0cf1b23eaf4ce87ab7b51ef1 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 1 Nov 2018 16:40:28 +0000 Subject: egl: use the LC_ALL hammer instead of LANG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/egl/egl-entrypoint-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl') 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" -- cgit v1.2.3