metal3d / bashsimplecurses

A simple curses library made in bash to draw terminal interfaces
BSD 3-Clause "New" or "Revised" License
902 stars 117 forks source link

echo -e in Makefile #21

Closed rlegene closed 6 years ago

rlegene commented 7 years ago

When running make test it comes out really bad looking on Debian 8:

-e Warning - You should install caca-utils or img2txt command

strace(1) shows that /bin/sh is used. man sh gives the manual page for dash, and that manual page shows that the builtin echo does not support -e as an option. Setting SHELL=bash as the first line in Makefile makes the output look at expected on Debian 8.

I'm not sure if some creates other problems or if some systems require a full pathname to bash.

metal3d commented 6 years ago

That's right, "make" is using sh by default and I should change the Makefile to avoid that problem. I will make a change soon.

Sorry for late answer, at this time (this 2 years) I'm very busy. I will do it very soon