Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Andreas Schwab

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



Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Tim Waugh

On Mon, Oct 02, 2000 at 07:47:54AM -0700, Clayton Weaver wrote:

> What is the second "fi" for?

The first "if".

Tim.
*/

 PGP signature


makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Clayton Weaver

   
> []   
> Another problem in Makefile. I guess this change between pre 12 and 13
> is a typo:

>  CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
>  - else if [ -x /bin/bash ]; then echo /bin/bash; \
>  + else if [ -x /bin/bash ]; then echo /bin/bash2; \
>else echo sh; fi ; fi)
> []   
   

What is the second "fi" for?

Regards,

Clayton Weaver

(Seattle)

"Everybody's ignorant, just in different subjects."  Will Rogers



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



makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Clayton Weaver

   
 []   
 Another problem in Makefile. I guess this change between pre 12 and 13
 is a typo:

  CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
  - else if [ -x /bin/bash ]; then echo /bin/bash; \
  + else if [ -x /bin/bash ]; then echo /bin/bash2; \
else echo sh; fi ; fi)
 []   
   

What is the second "fi" for?

Regards,

Clayton Weaver
mailto:[EMAIL PROTECTED]
(Seattle)

"Everybody's ignorant, just in different subjects."  Will Rogers



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



Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Tim Waugh

On Mon, Oct 02, 2000 at 07:47:54AM -0700, Clayton Weaver wrote:

 What is the second "fi" for?

The first "if".

Tim.
*/

 PGP signature


Re: makefile bash2 typo (Re: We interrupt you regularly scheduled catfight for.. Linux 2.2.18pre13)

2000-10-02 Thread Andreas Schwab

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