Messages in this thread | | | From | "Justin R Hibbits" <> | Date | Mon, 8 Jul 2002 11:22:15 -0400 | Subject | Re: Patch for Menuconfig script |
| |
This removes the test, and also fixes the function declarations ( changes them from 'function blah ()' to just 'blah ()' ) to make it more of a POSIX sh script. As I put in my other reply (started another thread...problems explained there :P ), I've only tested it on my system with 2.4.18 and ksh (but should work out of the box on any 2.4.xx, and with little modification on 2.5.xx).
Justin Hibbits
On 07/08/02 11:14:12, Tom Rini <trini@kernel.crashing.org> wrote: > On Sun, Jul 07, 2002 at 11:22:10PM +0100, Riley Williams wrote: > > Hi Justin. > > > > > This is just a patch to the Menuconfig script (can be easily adapted > > > to the other ones) that allows you to configure the kernel without > > > the requirement of bash (I tested it with ksh, in POSIX-only mode). > > > Feel free to flame me :P > > > > Does it also work in the case where the current shell is csh or tcsh > > (for example)? > > Er.. why wouldn't it? > $ head -1 scripts/Menuconfig > #! /bin/sh > > So this removes the /bin/sh is not bash test, yes? > > -- > Tom Rini (TR1265) > http://gate.crashing.org/~trini/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |