Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
mesa3d
/
a86c9328ce87fece002ea1f918829ec88d62b12c
/
.
/
src
/
egl
/
egl-entrypoint-check
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"