Thread: DIY - KeK
View Single Post
Old 08-10-2012, 01:12 PM   #217
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I have a question:

if blah.sh contains:

#!/bin/sh
PATH="/home/bin:/home/lib:/home/include:/home/share:$PATH"; export PATH
LD_LIBRARY_PATH="/home/usr/lib:/home/lib:/lib:/usr/lib"; export LD_LIBRARY_PATH
echo $PATH


Then it would echo the correct new path.

but then echo $PATH from the command line would show unchanged values.
Umm. is there a export -a or something I am missing?

Apologies to be a pain, I did read the man page but don't seem to be able to grasp why it's only set in the script.

Thanks everyone.

Last edited by twobob; 08-10-2012 at 01:14 PM. Reason: for matting
twobob is offline   Reply With Quote