From: short <> Date: Tue, 13 Dec 2005 10:47:13 +0000 (+0000) Subject: Support "/lib64" for perl(1) include files for: x86_64 X-Git-Url: http://git.jankratochvil.net/?p=nethome.git;a=commitdiff_plain;h=33cbd09fdae10c23ecb58afca6c8b5e937508950 Support "/lib64" for perl(1) include files for: x86_64 --- diff --git a/.bashrc b/.bashrc index 1f2ffee..ad1a856 100644 --- a/.bashrc +++ b/.bashrc @@ -102,7 +102,7 @@ _bash_profile_addpath -s ANT_HOME "/usr/local/ant" # /lib/perl5 for Fedora Core 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/perl5,/share/perl,/lib/perl}{,/site_perl}$_perlpatt");do +for _perldir in $(eval "echo {/usr,$HOME}{/lib{,64}/perl{,5},/share/perl}{,/site_perl}$_perlpatt");do _bash_profile_addpath -f PERLLIB "$_perldir" done unset _perldir