star-3dstl

Create star-3d geometries from StL files
git clone git://git.meso-star.fr/star-3dstl.git
Log | Files | Refs | README | LICENSE

commit 8607a4fb7557a53c3c809eabdbc0e9d0641f8496
parent 5324e641b47ed7fa56344a5f5c8cf908e646c2b2
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 19 Oct 2023 11:16:30 +0200

Updating the escape sequence in messages displayed by "make test"

Some shells (e.g. dash) don't support the '\e' character in printf: the
escape sequence is simply ignored. So we've replaced '\e' with '\033'
in the printf used to display colored messages in "make test". This
should work as expected in all shells.

Diffstat:
MMakefile | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -131,9 +131,9 @@ build_tests: build_library src/test_s3dstl.d test: build_tests @printf "%s " "test_s3dstl" @if ./test_s3dstl > /dev/null 2>&1; then \ - printf "\e[1;32mOK\e[m\n"; \ + printf "\033[1;32mOK\033[m\n"; \ else \ - printf "\e[1;31mError\e[m\n"; \ + printf "\033[1;31mError\033[m\n"; \ fi clean_test: