[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATH lunacy Re: Appending to BASH Environmental Variables



since we are talking about it, i thought that i would mention that if i 
see one more box with . in the freaking PATH, i am going to take an axe to 
that machine.  i swear to gofd.


> > export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/
> 
> Except if PKG_CONFIG_PATH is empty to begin with, and/or you don't mind 
> multiple instances of /usr/local/lib (in case it was already in 
> $PKG_CONFIG_PATH), and you're sure you want to *append* /usr/local/lib/ 
> instead of *prepending* it. i.e.:
> 
> export PKG_CONFIG_PATH=/usr/local/lib:$PKG_CONFIG_PATH
> 
> Please take a look at http://www.archlug.org/kwiki/DesktopProfileKwikis 
> for some pointers on building some functions that help you manage these 
> sorts of variables properly.
> 
> P.S. It would be most excellent for someone to post a function factory 
> for these to the Kwiki page.
> 
> Mike/
> 
> -
> To unsubscribe, send email to majordomo@silug.org with
> "unsubscribe silug-discuss" in the body.
> 

-- 
Tighe Schlottog         workape         fiaid
"Nothing is too cruel if it is funny enough."


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.