Tim Waugh <[EMAIL PROTECTED]> writes:
|> On Mon, Oct 02, 2000 at 07:47:54AM -0700, Clayton Weaver wrote:
|>
|> > What is the second "fi" for?
|>
|> The first "if".
Btw, the Bourne language also has `elif':
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
elif [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi)
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
[EMAIL PROTECTED]
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/