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