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

mitia@nwu.edu mitia@nwu.edu
Fri Apr 30 18:32:00 GMT 1999


Thanks all for replies.  I did as was suggested: added the current
directory to the PATH env. variable, and it solved the problem:

In .bashrc:

PATH=./:$PATH

>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?


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




More information about the Cygwin mailing list