2002-07-07 22:50:58

by Justin Hibbits

[permalink] [raw]
Subject: Re: Patch for Menuconfig script (CC all replies to me personally)

It's for any 'sh' compliant shell. I'll look into checking for all sh-compatible shells,
until then, I hope you like it :) (took a ton of time to do this...). Also, I only tested
it with 2.4.18 (but it can very easily be adapted for the 2.5.xx kernels, and should work
with any other 2.4.xx kernel without any modification, but I guarentee nothing :P )

Oh, I hope this doesn't start another thread (I'm using mozilla to send, and mutt to receive,
so there may be problems).


Thanks for you reply, and I thank you and all other kernel hackers for a job well done
(I look forward for 2.6 :) )

Justin Hibbits

--You 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)? If not, you will need to replace the test for bash with a
test for bash or ksh or ... instead, as otherwise it will still fail.
Certainly on the systems I've used where bash isn't available, tcsh has
been far commoner than ksh.

Best wishes from Riley.