[Buildroot] shell issues when /bin/sh is 'dash' instead of 'bash'
hamish at cloud.net.au
Thu Jan 1 02:36:21 UTC 2009
On Wed, Dec 31, 2008 at 04:04:37PM -0700, Wade Berrier wrote:
> The result is that some files don't get installed into the target
> system when /bin/sh points to dash (like on recent ubuntu and debian?
> Attached is a patch to use CONFIG_SHELL.
Why aren't we setting SHELL=$(CONFIG_SHELL) somewhere, rather than using
$(CONFIG_SHELL) explicitly in each place? (And why do I have the feeling
we've had this discussion before?)
> Question: is this the best way to fix this? Or maybe these packages
> should be fixed more in the style of how Jacmet fixed grep? (see
dash(1) on my system says -ot is supported anyway. If not perhaps it can
be expressed in a better way; I think that would be better than this
Besides is CONFIG_SHELL guaranteed to be bash anyway?
Happy new year.
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
More information about the buildroot