[oclug] set $PATH

Glenn Jackman glennj at ncf.ca
Fri Jul 11 12:43:47 EDT 2003


On 2003-07-11 13:13, Bruce Harding wrote:
> The reason for my orginal post was... I use Midnight Commander a lot and
> I wanted to be able to open files directly, but without having to use a
> fix link.  Since Openoffice in Gentoo always creates a directory in /opt
> that looks like "OpenOffice.org(the version number)" i.e.
> OpenOffice.org1.0.3.  I wanted a why to do the PATH that I could replace
> the version number with a Wild Card and thus not have to create new PATH
> every time a new version came out.  

Why don't you create a symlink /opt/OpenOffice.org that points to the
particular version you want to run?  Then, you'll just have a single
/opt/OpenOffice.org/bin (or whatever) in your PATH.

-- 
Glenn Jackman
NCF Sysadmin
glennj at ncf.ca



More information about the OCLUG mailing list