On Wed, 15 Feb 2006, Dan Nicholson wrote:

On 2/15/06, Brandin Creech <[EMAIL PROTECTED]> wrote:
--- M Sandell <[EMAIL PROTECTED]> wrote:

When I was installing the UnZip package (Chpt 11, BLFS 6.1) the command
from the book:

LD_LIBRARY_PATH=$PWD && make check

export LD_LIBRARY_PATH=$PWD && make check

That would work, but the svn book has the more appropriate

LD_LIBRARY_PATH=$PWD make check

Then, LD_LIBRARY_PATH is set for the make check process only.  This is
better than exporting LD_LIBRARY_PATH in your environment unless you
unset it afterwards.

I had noticed this being used in (I think) the LFS 6.1.1 book or maybe at other places in BLFS 6.1, and had figured it was setting the variable just for the one process, but it didn't occur to me to try.

Thanks guys. It's early(ish) and I've learnt something already today! (And at work too ;-)

Mike.
--
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to