blob: 36ee5c615306708d27849c30733b87311c51a458 [file] [log] [blame]
#!/usr/bin/env bash
set -e
if [ -z "$srcdir" ]
then
srcdir=$(dirname "$0")
fi
entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h)
sorted=$(sort <<< "$entrypoints")
test "$entrypoints" = "$sorted"