Re: 2.2.18pre12 fix for some distros

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Sep 30 2000 - 09:13:02 EST


> Please replace which with "command -v" which is required by SuS in /bin/sh.

command -v breaks on some setups. One problem can be seen easily by doing this

# command -v ls
alias ls='ls --color=tty'

Because I build kernels with several compilers for several architectures I have
gcc aliased, and I am sure I am not alone in that.

I'll play with the proposed which based fixes first, unless you have clever
ideas ?

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



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:26 EST