summaryrefslogtreecommitdiffstats
path: root/abs/core/perl/perlbin.sh
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:54:04 (GMT)
commit16a043fed17ea05b6d6ca012ff09b71008562790 (patch)
tree86b6ccfe6c79f7671304d3b8f921eb706fe9778f /abs/core/perl/perlbin.sh
parent4cf4de0fd9895bae9713f28ab85983c3900ca0fc (diff)
downloadlinhes_pkgbuild-16a043fed17ea05b6d6ca012ff09b71008562790.zip
linhes_pkgbuild-16a043fed17ea05b6d6ca012ff09b71008562790.tar.gz
linhes_pkgbuild-16a043fed17ea05b6d6ca012ff09b71008562790.tar.bz2
perl 5.16
Diffstat (limited to 'abs/core/perl/perlbin.sh')
-rwxr-xr-xabs/core/perl/perlbin.sh25
1 files changed, 12 insertions, 13 deletions
diff --git a/abs/core/perl/perlbin.sh b/abs/core/perl/perlbin.sh
index 665d5a8..20f8304 100755
--- a/abs/core/perl/perlbin.sh
+++ b/abs/core/perl/perlbin.sh
@@ -1,17 +1,16 @@
-# Set path to perl scripts.
-# Remove the perlbin dirs in the next release.
+# 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 ] && PATH=$PATH:/usr/bin/site_perl
+[ -d /usr/lib/perl5/site_perl/bin ] && PATH=$PATH:/usr/lib/perl5/site_perl/bin
+
+[ -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
+
+[ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl
-# Add dirs to path if they exist.
-[ -d /usr/lib/perl5/site_perl/bin ] &&
- PATH=$PATH:/usr/lib/perl5/site_perl/bin
-[ -d /usr/bin/perlbin/site ] &&
- PATH=$PATH:/usr/bin/perlbin/site
-[ -d /usr/lib/perl5/vendor_perl/bin ] &&
- PATH=$PATH:/usr/lib/perl5/vendor_perl/bin
-[ -d /usr/bin/perlbin/vendor ] &&
- PATH=$PATH:/usr/bin/perlbin/vendor
-[ -d /usr/lib/perl5/core_perl/bin ] &&
- PATH=$PATH:/usr/lib/perl5/core_perl/bin
export PATH
# If you have modules in non-standard directories you can add them here.