commit: 69fe1365667ca61225f4265a45a10f0b38c251d4
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 12 03:41:46 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Sep 12 03:43:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fe1365
eclass/toolchain-glibc.eclass: prefixify etc/init.d/nscd
Credit: Martin Mokrejš
Bug: 608234
eclass/toolchain-glibc.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
index 98e394659cf..e9cf01cf8c2 100644
--- a/eclass/toolchain-glibc.eclass
+++ b/eclass/toolchain-glibc.eclass
@@ -1278,7 +1278,7 @@ toolchain-glibc_do_src_install() {
doins "${WORKDIR}"/extra/etc/*.conf || die
if ! in_iuse nscd || use nscd ; then
- doinitd "${WORKDIR}"/extra/etc/nscd || die
+ doinitd "$(prefixify_ro "${WORKDIR}"/extra/etc/nscd)" || die
local nscd_args=(
-e "s:@PIDFILE@:$(strings "${ED}"/usr/sbin/nscd | grep
nscd.pid):"