Hello,

On Thu, May 26, 2005 at 07:19:06PM +0200, Ralf Menzel wrote:
> [...] the configure script tests if its executing shell is 'compatible
> enough'. If this is not the case it looks for a better shell and
> records its name in CONFIG_SHELL. If the script is happy with the
> executing shell it doesn't touch the variable CONFIG_SHELL. It then
> assigns the variable SHELL the value of CONFIG_SHELL with /bin/sh as
> default.
> 
> So, if the shell that executes the configure script is bash the
> varible SHELL will be set to /bin/sh.

but the generated scripts (configure and autotest) start with
        #! /bin/sh
so they suppose they are executed by /bin/sh.

If you want to use another shell for configure, you have to do
        CONFIG_SHELL=/bin/ash /bin/ash ./configure

So the question is how it happened that the script was started by another
shell then /bin/sh?

Have a nice day,
        Stepan


Reply via email to