Re: Patch for Menuconfig script

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Jul 08 2002 - 17:53:27 EST


On Mon, 8 Jul 2002 08:14:12 -0700,
Tom Rini <trini@kernel.crashing.org> wrote:
>On Sun, Jul 07, 2002 at 11:22:10PM +0100, Riley Williams wrote:
>> > 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

The #! line is irrelevant. The script is invoked via

  $(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in

Large chunks of kbuild assume that CONFIG_SHELL is bash. Don't bother
trying to cleanup all the code that assumes bash, just
  make CONFIG_SHELL=/path/to/bash ...

-
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/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:14 EST