You'll probably find that the first line of the script points to the wrong
interpreter for the script.

For example, if the first line reads: #!/usr/local/bin/perl, but perl is
in /usr/bin/perl, you'll get an error similar to what you've described.

Brad.

On Thu, 16 Mar 2000, Cantanker wrote:

> 
> Hi there, I bet this is another really stupid thing, but I'm gestumped.
> 
> In a directory I have a script:
> 
> -rwxr-xr-x   1 az       users         557 Mar 16 12:52 install.sh*
> 
> Upon attempting to execute it, I'm told it doesn't exist:
> 
> $ ./install.sh
> ./install.sh: ./install.sh: No such file or directory
> 
> If I privide an absolute path, it executes, but does not find the files
> specified:
> 
> for i in      "Delays.include.orc"                            \
>               "Effects.Header.orc"                            \
>               "HRTF_Stereo.include.orc"                       \
>               "HRTF_parameters.include.orc"                   \
>               "Plain_Stereo.include.orc"                      \
>               "Spatial_Stereo.include.orc"                    ; do
> 
>               rm -f "~/music/cs/include/${i}"
>               cp -a "./${i} ~/music/cs/include"
>               chown 0:0 "~/music/cs/include/${i}"
>               chmod 444 "~/music/cs/include/${i}" ;
> done
> 
> 
> Why?
> 
> 
> : adrian : 
> 
> --
> SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
> To unsubscribe send email to [EMAIL PROTECTED] with
> unsubscribe in the text
> 

-- 
Brad Thomson                                Phone: 02 9901 8097
[EMAIL PROTECTED]                              Fax: 02 9906 3305
QM Industries                              Mobile: 0411 073 140

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to