Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Sender: eusjadu@exu.ericsson.se
Message-ID: <370E691C.63B43B48@bigfoot.com>
Date: Fri, 09 Apr 1999 15:54:52 -0500
From: James Dumser <dumser@bigfoot.com>
Organization: Ericsson North America Inc.
X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sourceware.cygnus.com
CC: dye053 <mitia@nwu.edu>
Subject: Re: B20.1: Scripts not executed in the current directory (bash)
References: <370E527E.F4B3052F@nwu.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

