summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-08 17:23:20 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-08 17:23:20 +0100
commitfd476f45ad8b89add41422d0b79102f7aacff190 (patch)
treecf75323a10e7f72a476b717faedd1cae3140b238 /net-vpn/libreswan
parentnet-p2p/bitcoind: [QA] Fix UnnecessarySlashStrip (diff)
downloadgentoo-fd476f45ad8b89add41422d0b79102f7aacff190.tar.gz
gentoo-fd476f45ad8b89add41422d0b79102f7aacff190.tar.bz2
gentoo-fd476f45ad8b89add41422d0b79102f7aacff190.zip
net-vpn/libreswan: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-vpn/libreswan')
-rw-r--r--net-vpn/libreswan/libreswan-3.29.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-vpn/libreswan/libreswan-3.29.ebuild b/net-vpn/libreswan/libreswan-3.29.ebuild
index b0f25268995f..9036edff1ba7 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