[YLUG] PERL5LIB

Arthur Clune arthur at clune.org
Tue Aug 4 08:17:33 UTC 2009


It's from http://atrpms.net/, a third party repo. I prefer the DAG  
repo for RHEL myself as it's nice and reliable.

Everything /etc/profile.d is run on shell startup

box:/etc 505: grep profile.d *                                      
9:13:06

bashrc:	for i in /etc/profile.d/*.sh; do
csh.cshrc:if ( -d /etc/profile.d ) then
csh.cshrc:        foreach i ( /etc/profile.d/*.csh )
profile:for i in /etc/profile.d/*.sh ; do


Grabbing the aprpms RPM, that file contains

box:/var/tmp 511: more atrpms.sh                                    
9:16:14
eval `perl -V:installsitearch`
eval `perl -V:installsitelib`
eval `perl -V:installvendorarch`
eval `perl -V:installvendorlib`

PERL5LIB=${installsitearch}:${installsitelib}:${installvendorarch}:$ 
{installvend
orlib}
export PERL5LIB

unset installsitearch installsitelib installvendorarch installvendorlib

which does indeed twat PERL5LIB.

This is a bug in atrpms in my book.

Arthur


On 3 Aug 2009, at 22:13, Roger Leigh wrote:

>  Whatever /etc/profile.d/atrpms.sh




More information about the York mailing list