From: lace <> Date: Sat, 9 Jun 2007 15:04:29 +0000 (+0000) Subject: Fixed $PERL5LIB conflict with: /etc/profile.d/atrpms.* X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=3a7a825a285cb66f9005dc4884fae645e834a1f2;ds=sidebyside Fixed $PERL5LIB conflict with: /etc/profile.d/atrpms.* --- diff --git a/.bashrc b/.bashrc index 68937a0..e45bbb8 100644 --- a/.bashrc +++ b/.bashrc @@ -109,7 +109,8 @@ _bash_profile_addpath -s ANT_HOME "/usr/local/ant" mkdir -p $HOME/lib/perl5 # otherwise CPAN will install to "$HOME/lib/site_perl" etc. _perlpatt="$(perl -MConfig -e 'print "{,/".$Config{$_}."}" for qw(version archname);')" for _perldir in $(eval "echo {/usr,$HOME}{/lib{,64}/perl{,5},/share/perl}{,/site_perl}$_perlpatt");do - _bash_profile_addpath -f PERLLIB "$_perldir" + # $PERL5LIB overrides $PERLLIB and it is being used by: /etc/profile.d/atrpms.* + _bash_profile_addpath -f PERL5LIB "$_perldir" done unset _perldir