Hi Martin,

> The idea was to make sure that .exe was assumed ONLY in the case that
> no file _without_ .exe had been created. If both exist, then I don't
> want to automatically assume that .exe is the default extension.
> 
> By removing the code above, you would do just that: favor .exe over
> "no extension" if both cases are found.
> 
> Originally, I coded that as  [ -f "$src.exe" ] && [ ! -f "$src" ] but
> you told me that Cygwin's "test" is to dumb to grok this syntax.
> 
> Thus let's keep it the way it is. (Thanks, Jim!)

AFAIK, the code would have no inpact on over OS?! And as Cygwin does
not create executables (at least from ld) "without" .exe extension I
would prefer the change.

The problem is that both operands of the arbitary AND operaion are
true on Cygwin 1.x, even if there physicaly only exists $src.exe.

Stipe

[EMAIL PROTECTED]
-------------------------------------------------------------------
Wapme Systems AG

M�nsterstr. 248
40470 D�sseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [EMAIL PROTECTED]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

Reply via email to