On May 15, 2007, at 4:32 PM, Daniel E. Macks wrote:

> Jason Stelzer <[EMAIL PROTECTED]> said:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>>
>> On May 15, 2007, at 3:58 PM, Benjamin Reed wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Jason Stelzer wrote:
>>>> On May 15, 2007, at 3:46 PM, Holger Schulz wrote:
>>>> export PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
>>>>
>>>> then try again. Or, probably better, source in the /sw/bin/init.sh
>>>> file so your environment settings are correct.
>>>
>>> Actually, I believe the nature of the new sudo is that it drops
>>> such things.
>>>
>>
>> I can tell you with certainty that sudo in 10.4.9 does NOT reset your
>> environment.
>>
>> sudo echo $PERL5LIB
>> Password:
>> /sw/lib/perl5:/sw/lib/perl5/darwin
>
> You sure that's the $PERL5LIB value *after* the sudo, and not having
> your main shell fill it in and then pass it to sudo?
>

Nope, good catch. I stand corrected.

Subshells will indeed not have environment variables passed along.


--
J.




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to