diff options
author | root <root@rshg054.dnsready.net> | 2011-12-30 23:14:51 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-30 23:14:51 +0000 |
commit | 5d738f85840804ee493d267784d9cce5dc52f535 (patch) | |
tree | 646f79576fee9f326fa833f7ca480d2355056556 /testing/perl/perlbin.csh | |
parent | 8a823402bd45dc875237a20f174ecbe64e1bae4d (diff) |
Fri Dec 30 23:14:51 UTC 2011
Diffstat (limited to 'testing/perl/perlbin.csh')
-rw-r--r-- | testing/perl/perlbin.csh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/perl/perlbin.csh b/testing/perl/perlbin.csh new file mode 100644 index 000000000..535f0b18d --- /dev/null +++ b/testing/perl/perlbin.csh @@ -0,0 +1,15 @@ +# Set path to perl scriptdirs if they exist +# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_Scripts +# Added /usr/bin/*_perl dirs for scripts +# Remove /usr/lib/perl5/*_perl/bin in next release + +[ -d /usr/bin/site_perl ] && setenv PATH ${PATH}:/usr/bin/site_perl +[ -d /usr/lib/perl5/site_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/site_perl/bin + +[ -d /usr/bin/vendor_perl ] && setenv PATH ${PATH}:/usr/bin/vendor_perl +[ -d /usr/lib/perl5/vendor_perl/bin ] && setenv PATH ${PATH}:/usr/lib/perl5/vendor_perl/bin + +[ -d /usr/bin/core_perl ] && setenv PATH ${PATH}:/usr/bin/core_perl + +# If you have modules in non-standard directories you can add them here. +#export PERLLIB=dir1:dir2 |