This is the mail archive of the cygwin-apps@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ash's handling of foo.exe and Foo (Re: Cygwin 1.1.8 Python 2.1a2 Builds OOTB)


On Mon, Feb 20, 2001 at 10:57:53AM -0500, Jason Tishler wrote:
> On Mon, Feb 05, 2001 at 12:44:09PM -0500, Jason Tishler wrote:
> > Python 2.1a2 builds OOTB under Cygwin 1.1.8 or later.
> 
> There is one nit that I just noticed -- make install will fail during
> the $(srcdir)/Lib/$(PLATDIR) target.  The simple workaround is to execute
> make install as follows:
> 
>     make EXE=.exe install
> 
> I will submit a patch to Python to correct the above problem which can be
> traced to the Makefile is now using EXEEXT while the regen shell script is
> still using EXE.  But, this could also be classified as an ash "issue" so
> see my next post, if interested.

Although, this could be corrected in ash too.  It seems like ash won't
execute foo.exe when there also exists a directory called Foo at the
same level:

    $ sh
    $ ls -dl [Pp]ython*
    drwxr-xr-x   3 jt       Domain U    24576 Feb 19 16:12 Python
    -rwxr-xr-x   1 jt       Domain U    34903 Feb 19 16:13 python.exe
    $ python
    python: not found
    $ python.exe
    Python 2.1a2 (#1, Feb 19 2001, 16:13:17)
    ...
    
But, the above problem does not occur in bash:

    $ bash
    $ ls -dl [Pp]ython*
    drwxr-xr-x   3 jt       Domain U    24576 Feb 19 16:12 Python
    -rwxr-xr-x   1 jt       Domain U    34903 Feb 19 16:13 python.exe
    $ python
    Python 2.1a2 (#1, Feb 19 2001, 16:13:17)
    ...

Jason

-- 
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corp.               Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]