Hi,

Once again, I hit the answer, not the "answer to list" button,
in my first try...

> I have a little file called pathrddtool.sh which contains the lines:
>
> export PATH=$PATH:/usr/local/rrdtool-1.2.10/bin
>
> After running the script I still don't get my path to rrdtool. I even echo
> $PATH and it's still the original.

This dont work! The PATH is only set for the shell-script itself and
the "child"-programs started inside this script.

You can source (include) the script to yous current shell with
> . pathrddtool.sh
or include the PATH statement in your ~/.bashrc

I prefere to install packages in /usr/local/$PROGNAME/ and
make a symlink to /usr/local/bin/

Cheers

Bastian



--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to