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

James Dumser dumser@bigfoot.com
Fri Apr 30 18:32:00 GMT 1999


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




More information about the Cygwin mailing list