From: cgf@cygnus.com (Christopher G. Faylor)
Subject: Re: Q: executing shell scripts in beta 19
1 Oct 1998 23:52:12 GMT
Message-ID: <6v14jc$aj9$1@cronkite.cygnus.com>
References: <9810010831.AA17005.cygnus.gnu-win32@smtp02.oce.nl>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <9810010831.AA17005.cygnus.gnu-win32@smtp02.oce.nl>,
Borre 'Wouse' Sanders <lsan@oce.nl> wrote:
>In Beta 18 I used to be able to execute scripts that are in the path 
>using just a 'sh scriptname' type command line.
>As of beta 19 I have to include the full path to the script, as 
>otherwise the script fails to execute, returning an error "can't open 
>scriptname".
>
>"ls -l" shows that the scripts don't have an 'x' attribute set, which 
>they should have, as they start with #! as supposedly is being 
>checked (according to the FAQ) (by sh.exe I assume). May be the 
>missing attribute is the problem. However, chmod doesn't help. Is 
>this a bug or have I missed something that will get the scripts to 
>run in the way they did in beta 18?
>
>Thanks in advance for useful suggestions.

Do you have "." in your path?
-- 
cgf@cygnus.com
http://www.cygnus.com/
