egl: fix entrypoint sorting test
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 1 Nov 2018 15:33:35 +0000 (15:33 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Thu, 1 Nov 2018 15:45:26 +0000 (15:45 +0000)
Fixes: 68dc591af16ebb36814e "egl: Fix eglentrypoint.h sort order."
Cc: Emil Velikov <emil.l.velikov@gmail.com>
Cc: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/egl/egl-entrypoint-check

index 36ee5c615306708d27849c30733b87311c51a458..bb7d6a777a71be5842fcb554a31698a98c98df5c 100755 (executable)
@@ -7,5 +7,5 @@ then
 fi
 
 entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h)
-sorted=$(sort <<< "$entrypoints")
+sorted=$(LANG=C sort <<< "$entrypoints")
 test "$entrypoints" = "$sorted"