lkml.org 
[lkml]   [1998]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux/Makefile: CONFIG_SHELL and SHELL

On Tue, 1 Sep 1998, Linus Torvalds wrote:

> On Wed, 2 Sep 1998, Clifford Wolf wrote:
>
> > I attached a patch which fixes the broken Makefiles. I don't know if we
> > use bash features - makeing the suggestion that /bin/sh is bash -
> > somewhere else in the kernel too.
>
> Why not fix "make" instead to either handle the shell extensions or at
> least notice that it doesn't know about some new meta-characters. As far
> as I know (but yes, I'm too lazy to try to find the standard), the brace
> expansion is part of the POSIX shell standard, and if make can't handle it
> then make is very arguably broken.

I've just had a look at the Single Unix Spec. Version 2 (Unix98) - and I
can't find anything about brace expansion there (and as far as I know
POSIX 1003.2/2a went into this paper).

So it's not part of the POSIX shell standard and if we use it we need to
tell make to use bash instead of /bin/sh.

- clifford

-- -- -- -- -- -- -- -- -- -- -- -- --
Clifford Wolf
magnet - Internet at Work IRC: efnet / clifford
Director of System Development http://www.clifford.at/
e-mail: c.wolf@magnet.at email: god@clifford.at


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.786 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site