commit: fd476f45ad8b89add41422d0b79102f7aacff190
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 16:23:20 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 16:23:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd476f45
net-vpn/libreswan: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap <AT> gentoo.org>
net-vpn/libreswan/libreswan-3.29.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-vpn/libreswan/libreswan-3.29.ebuild
b/net-vpn/libreswan/libreswan-3.29.ebuild
index b0f25268995..9036edff1ba 100644
--- a/net-vpn/libreswan/libreswan-3.29.ebuild
+++ b/net-vpn/libreswan/libreswan-3.29.ebuild
@@ -105,7 +105,7 @@ src_install() {
}
pkg_postinst() {
- local IPSEC_CONFDIR=${ROOT%/}/etc/ipsec.d
+ local IPSEC_CONFDIR=${ROOT}/etc/ipsec.d
if [[ ! -f ${IPSEC_CONFDIR}/cert8.db && ! -f ${IPSEC_CONFDIR}/cert9.db
]] ; then
ebegin "Setting up NSS database in ${IPSEC_CONFDIR} with empty
password"
certutil -N -d "${IPSEC_CONFDIR}" --empty-password