This is the mail archive of the email@example.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: dye053 <firstname.lastname@example.org>
- Subject: Re: B20.1: Scripts not executed in the current directory (bash)
- From: Chris Faylor <email@example.com>
- Date: Fri, 9 Apr 1999 16:11:50 -0400
- Cc: firstname.lastname@example.org
- References: <370E527E.F4B3052F@nwu.edu>
On Fri, Apr 09, 1999 at 02:18:22PM -0500, dye053 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?
Set your PATH environment variable to include the current directory.
Want to unsubscribe from this list?
Send a message to email@example.com