diff options
Diffstat (limited to 'net-vpn/libreswan/libreswan-3.29.ebuild')
-rw-r--r-- | net-vpn/libreswan/libreswan-3.29.ebuild | 2 |
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 |