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)


On Fri, 09 Apr 1999 14:18:22 -0500, dye053 <mitia@nwu.edu> wrote:
> 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.

Add . to your path or explicitly reference the current directory (e.g.,
./foo.pl).

-- 
James Dumser    972.583.5114    james.dumser@ericsson.com

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