Rather than hardcoding glcpp/other use `basename "$0"` which expands
appropriatelly.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
usage ()
{
cat <<EOF
-Usage: glcpp-cr-lf [options...]
+Usage: `basename "$0"` [options...]
Run the entire glcpp-test suite several times, each time with each source
file transformed to use a non-standard line-termination character. Each
usage ()
{
cat <<EOF
-Usage: glcpp [options...]
+Usage: `basename "$0"` [options...]
Run the test suite for mesa's GLSL pre-processor.