delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/04/09/15:19:37

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: dye053 AT casbah DOT acns DOT nwu DOT edu
Message-ID: <370E527E.F4B3052F@nwu.edu>
Date: Fri, 09 Apr 1999 14:18:22 -0500
From: dye053 <mitia AT nwu DOT edu>
Organization: Northwestern University
X-Mailer: Mozilla 4.08 [en] (X11; U; HP-UX B.10.20 9000/712)
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: B20.1: Scripts not executed in the current directory (bash)

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 AT sourceware DOT cygnus DOT com

- Raw text -


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