Support "/lib64" for perl(1) include files for: x86_64
authorshort <>
Tue, 13 Dec 2005 10:47:13 +0000 (10:47 +0000)
committershort <>
Tue, 13 Dec 2005 10:47:13 +0000 (10:47 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 1f2ffee..ad1a856 100644 (file)
--- 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