core/perl/perlbin.sh

18 lines
596 B
Bash
Raw Normal View History

2011-03-26 18:53:39 +08:00
# Set path to perl scriptdirs if they exist
# Added /usr/bin/*_perl dirs for scripts
# Remove /usr/lib/perl5/*_perl/bin in next release
2012-05-10 04:14:20 +08:00
[ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl
[ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin
2011-03-26 18:53:39 +08:00
2012-05-10 04:14:20 +08:00
[ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl
[ -d /usr/lib/perl5/vendor_perl/bin ] && PATH=$PATH:/usr/lib/perl5/vendor_perl/bin
2011-03-26 18:53:39 +08:00
2012-05-10 04:14:20 +08:00
[ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl
2011-03-26 18:53:39 +08:00
export PATH
# If you have modules in non-standard directories you can add them here.
#export PERLLIB=dir1:dir2