[arch-commits] Commit in perl/trunk (PKGBUILD perlbin.sh)
Jelle van der Waa
jelle at archlinux.org
Sat Sep 12 15:56:10 UTC 2020
Date: Saturday, September 12, 2020 @ 15:56:10
Author: jelle
Revision: 395865
Check if PATH is already set in $PATH
Use append_path from /etc/profile to not add duplicate PATH's fixes FS#66338
Modified:
perl/trunk/PKGBUILD
perl/trunk/perlbin.sh
------------+
PKGBUILD | 4 ++--
perlbin.sh | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-12 11:20:14 UTC (rev 395864)
+++ PKGBUILD 2020-09-12 15:56:10 UTC (rev 395865)
@@ -7,7 +7,7 @@
pkgname=perl
pkgver=5.32.0
_baseversion="${pkgver%.*}"
-pkgrel=1
+pkgrel=2
pkgdesc="A highly capable, feature-rich programming language"
arch=(x86_64)
license=('GPL' 'PerlArtistic')
@@ -137,7 +137,7 @@
detect-old-perl-modules.hook)
options=('makeflags' '!purge' 'emptydirs')
sha512sums=('1540247415893bbd94dfeede7b4fba6052688dc0bf27ced817f448246fcdc6e9a6486abc34577dec5b00bf02ed607b2d24ccd4977c3b3c51e8e6edfc0b81c760'
- 'b7678078d64cc593a3503c45f023c49915d0d703f1cea8282f4191f1e3aa62764cc6cfcae3dc3828101415b8e15d5ed8b1b79d423ef387550ae33172b0de92bc'
+ '1b4ccb4eb1be2551fab8871a19825467c1c8e130f32138508d15a34d226847a0a3ec7cab94f314a297448f6a932cf3dff2bb340c4fb20b84c359cef56f761e9c'
'53eb0cddfd637014f3d3a101665db8dcafe5ac5bf3d319a259974334eb89c1c405097518ae96b6d18e520194633c7be57c9b2cd9ae6398443eb08f1a2008d112'
'881e2efe05ba818cd7300f126800b56bb0685cb5c9c5fb7e67ef6aaf5abd17d2391a979d5d16d109c5111f4b35504ba83d19b0e6eda4431e8421fcbea19d2f1a'
'bd48af7a6209f2ad51aa1747a7238ecb11607a53f61460d873202bf14b55c3b7dd6f66f4a9f2cac8a24240313789a9a44dbc81b73587de46a6b1866bdfca5e26'
Modified: perlbin.sh
===================================================================
--- perlbin.sh 2020-09-12 11:20:14 UTC (rev 395864)
+++ perlbin.sh 2020-09-12 15:56:10 UTC (rev 395865)
@@ -2,11 +2,11 @@
# https://wiki.archlinux.org/index.php/Perl_Policy#Binaries_and_scripts
# Added /usr/bin/*_perl dirs for scripts
-[ -d /usr/bin/site_perl ] && PATH=$PATH:/usr/bin/site_perl
+[ -d /usr/bin/site_perl ] && append_path 'usr/bin/site_perl'
-[ -d /usr/bin/vendor_perl ] && PATH=$PATH:/usr/bin/vendor_perl
+[ -d /usr/bin/vendor_perl ] && append_path '/usr/bin/vendor_perl'
-[ -d /usr/bin/core_perl ] && PATH=$PATH:/usr/bin/core_perl
+[ -d /usr/bin/core_perl ] && append_path '/usr/bin/core_perl'
export PATH
More information about the arch-commits
mailing list