Re: confounded by a simple shell script

Antonio Galea <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <Pine.LNX.4.44.0304220852310.3941-100000@beastieboy.uff.netwise.it>
Here's the wrong line: 

> ./home/dokimos_web/.bash_profile

This does not read the file, but executes it (and complains about a bad
interpreter); change it into

. /home/dokimos_web/.bash_profile

and it will likely go smoother :-)

Btw, have a look at bash -x switch... it's gonna save you a few headaches.

Cheers,

Ant9000

-- 
_____________________________________________________________________________
Dr. Antonio Galea       N e t   W i s e                 http://www.netwise.it
Sviluppo tecnico     Tecnologie per il Web    Tel 0461.421016 Fax 0461.426021
-----------------------------------------------------------------------------
This program is free. Which also means if it doesn't work, you don't get
your money back.
-----------------------------------------------------------------------------
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.