if { test -x "$dir/$1" && test -f "$dir/$1"; } ||
       { test -x "$dir/$1.exe" && test -f "$dir/$1.exe"; }; then

This seems sensible.  I can't actually test it, since I don't have
either Cygwin or DJPP, but at least it is symmetric.

Stepan, do you have an objection to it?

Thanks,
k


_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
bug-texinfo@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to