[dslinux-devel] bash instead of sh in Makefile.xsh
Luis Javier Merino
ljmerino at gmail.com
Wed Jun 6 19:58:35 CEST 2007
On 6/6/07, Nanomad <condellog at gmail.com> wrote:
> Since ubuntu makes use of dash instead of plain sh (don't ask me
> why...). This leads to a corss-compilation shell prompt like:
> -xsh- \w >
> which is pretty ugly.
> I suggest to make Makefile.xsh run bash instead of sh. Very simple to
> adopt and with no drawbacks (AFAIK).
I'd guess Ubuntu uses dash to improve system startup times (sh gets
invoked many times from init scripts). Surely Ubuntu has some
alternatives system to select bash/whatever as sh, but I'd go with
$(SHELL), as Stefan suggested.
As for drawbacks, surely not everyone uses bash as shell.
More information about the dslinux-devel