[email protected] wrote:
> Dear Michael,
>
> Michael Haubenwallner <[email protected]> writes:
>
>> Must admit I've added 'export CONFIG_SHELL=/some/bash' to my ~/.profile
>> long time ago - and actually forgot about it, so this didn't bite me again...
>
> Does the build shell in portage respect $HOME/.profile? I have set
> 'export CONFIG_SHELL=/some/bash'. When I do ./configure manually, it
> would be bash (seen in ps). But if I emerge, all ./configure are called
> with /bin/sh (seen in ps).
Just committed a portage patch to actually use $CONFIG_SHELL when calling
configure's.
In usr/portage/prefix/aix/profile.bashrc you can find CONFIG_SHELL=$BASH,
so an ebuild calling configure (via econf or not) should have CONFIG_SHELL set.
> Are you sure this really works?
While it was enough for long time to just do:
$ export CONFIG_SHELL=/path/to/bash
$ ./configure
recently it seems necessary to do:
$ export CONFIG_SHELL=/path/to/bash
$ ${CONFIG_SHELL} ./configure
So I didn't encounter problems when doing this:
$ export CONFIG_SHELL=/path/to/bash # done by profile.bashrc
$ ${CONFIG_SHELL} ./configure # done by portage now
/haubi/
--
Michael Haubenwallner
Gentoo on a different level