perlbin.sh 668 B

12345678910111213141516171819
  1. # Set path to perl scriptdirs if they exist
  2. # https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts
  3. # Added /usr/bin/*_perl dirs for scripts
  4. # Remove /usr/lib/perl5/*_perl/bin in next release
  5. [ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl
  6. [ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin
  7. [ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl
  8. [ -d /usr/lib/perl5/vendor_perl/bin ] && PATH=$PATH:/usr/lib/perl5/vendor_perl/bin
  9. [ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl
  10. export PATH
  11. # If you have modules in non-standard directories you can add them here.
  12. #export PERLLIB=dir1:dir2