1#!/usr/bin/env bash 2set -e 3 4if [ -z "$srcdir" ] 5then 6 srcdir=$(dirname "$0") 7fi 8 9entrypoints=$(grep EGL_ENTRYPOINT "$srcdir"/main/eglentrypoint.h) 10sorted=$(sort <<< "$entrypoints") 11test "$entrypoints" = "$sorted" 12