glcpp: Use printf instead of "echo -n" in glcpp-test
authorCarl Worth <cworth@cworth.org>
Mon, 18 Aug 2014 23:26:09 +0000 (16:26 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 20 Aug 2014 23:41:38 +0000 (16:41 -0700)
commitc09a8b0e3bb93906f59fee565eb22d37b91fbfaf
treec2729a5cae3a2ccd2e37d8bd6cd9f57f48dcb907
parent04895f5c601b240df547739da786b7c2b65bdd1e
glcpp: Use printf instead of "echo -n" in glcpp-test

I noticed that with /bin/sh on Mac OS X, "echo -n" does not work as
desired, (it actually prints "-n" rather than suppressing the final
newline). There is a /bin/echo that could be used (it actually works)
instead of the builtin echo.

But I decided it's more robust to just use printf rather than
hardcoding /bin/echo into the script.
src/glsl/glcpp/tests/glcpp-test