Skip to content

Commit

Permalink
eclass/toolchain-glibc.eclass: prefixify etc/init.d/nscd
Browse files Browse the repository at this point in the history
Credit: Martin Mokrejš
Bug: 608234
  • Loading branch information
heroxbd committed Sep 12, 2017
1 parent 7732cd8 commit 69fe136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/toolchain-glibc.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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):"
Expand Down

0 comments on commit 69fe136

Please sign in to comment.