commit:     e97ff71c0bb20723a8a09c2c11c373fb6cbd4abc
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 21:41:29 2017 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 21:41:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e97ff71c

sys-kernel/dracut: Use systemd_get_systemunitdir instead of systemd_get_unitdir

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-kernel/dracut/dracut-044-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-kernel/dracut/dracut-044-r2.ebuild 
b/sys-kernel/dracut/dracut-044-r2.ebuild
index 394da6ea72..b4ac5de9ac 100644
--- a/sys-kernel/dracut/dracut-044-r2.ebuild
+++ b/sys-kernel/dracut/dracut-044-r2.ebuild
@@ -98,7 +98,7 @@ src_prepare() {
 
        if use systemd; then
                local systemdutildir="$(systemd_get_utildir)"
-               local systemdsystemunitdir="$(systemd_get_unitdir)"
+               local systemdsystemunitdir="$(systemd_get_systemunitdir)"
                local systemdsystemconfdir="$("$(tc-getPKG_CONFIG)" systemd \
                        --variable=systemdsystemconfdir)"
                [[ ${systemdsystemconfdir} ]] \
@@ -130,7 +130,7 @@ src_configure() {
        )
 
        if use systemd; then
-               myconf+=( --systemdsystemunitdir="$(systemd_get_unitdir)" )
+               myconf+=( --systemdsystemunitdir="$(systemd_get_systemunitdir)" 
)
        fi
 
        econf "${myconf[@]}"

Reply via email to