diff options
author | Eric Engestrom <[email protected]> | 2018-11-01 16:40:28 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-11-01 17:25:08 +0000 |
commit | 4da169d36855780f0cf1b23eaf4ce87ab7b51ef1 (patch) | |
tree | 9743a404c0acb32d069bd84aaa46cc306c1b3708 /src/egl | |
parent | b42dc50a5f1b22103b26aec5309e6aa3e99ee97c (diff) |
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 <[email protected]>
Fixes: b42dc50a5f1b22103b26 "egl: fix entrypoint sorting test"
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/egl')
-rwxr-xr-x | src/egl/egl-entrypoint-check | 2 |
1 files changed, 1 insertions, 1 deletions
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" |