delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/09/16:56:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Sender: eusjadu AT exu DOT ericsson DOT se
Message-ID: <370E691C.63B43B48@bigfoot.com>
Date: Fri, 09 Apr 1999 15:54:52 -0500
From: James Dumser <dumser AT bigfoot DOT 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 AT sourceware DOT cygnus DOT com
CC: dye053 <mitia AT nwu DOT edu>
Subject: Re: B20.1: Scripts not executed in the current directory (bash)
References: <370E527E DOT F4B3052F AT nwu DOT edu>

On Fri, 09 Apr 1999 14:18:22 -0500, dye053 <mitia AT nwu DOT 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 DOT dumser AT ericsson DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019