[ExtractStream] .profile/$PATH problems

sharkey@a... sharkey at a...
Sat, 14 Jul 2001 12:37:37 -0400


> OK, I got the nfs thing figured out...now I'm having a problem getting
> things running again, since the power went out, and I lost my settings
> (didn't put them in rc.sysinit). 
> 
> The problem seems to be in my .profile and $PATH.
> 
> I have this in my .profile:
> 
> export PATH=/tivo-bin/:$PATH":"/hack/bin/

That's a most unusual use of quotation marks you've got there. Why
are you quoting the second :?

> This seems to be keeping me from running most anything in /hack/bin,
> which is where just about everything is...

You've put your hack directory on the root filesystem? I have mine
on /var, since that's mounted rw, while / is ro.

> Any ideas?

Take out the quotes. I don't necessarily know that that's causing your
problem, but they look really weird in there. If you want to quote your
path, you should quote the entire value, not just a single character,
although it's not necessary to use quotes at all in this case. (Assuming
that your original PATH variable doesn't contain a directory name with
spaces in it, in which case, it would be.)

Eric