This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20.1: Scripts not executed in the current directory (bash)


--- dye053 <mitia@nwu.edu> wrote:
> In B20.1 I noticed a problem that I didn't have with B20 release:
> 
> In bash, scripts with shebang (#!) are not excuted in the current
> directory, although they are correctly identified as executable files by
> ls.  On the other hand, scripts located in a different directory are
> executed without a problem.
> 
> A workaround is to call the interpreter explicitly, e.g. perl foo.pl
> 
> Anyone else have this problem?

It is a known relative path problem.  It will be fixed for the b21 release.  It
is fixed in the current snapshots if you dare try them.  Please read the change
log file if you do try them.
===
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
----------------------ooo0O--O0ooo----------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com