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.
Re: B20.1: Scripts not executed in the current directory (bash)
- To: cygwin@sourceware.cygnus.com
- Subject: Re: B20.1: Scripts not executed in the current directory (bash)
- From: James Dumser <dumser@bigfoot.com>
- Date: Fri, 09 Apr 1999 15:54:52 -0500
- CC: dye053 <mitia@nwu.edu>
- Organization: Ericsson North America Inc.
- References: <370E527E.F4B3052F@nwu.edu>
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