diff options
author | Mike Gilbert <floppym@gentoo.org> | 2019-12-31 18:11:18 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-12-31 18:11:18 -0500 |
commit | f6ee38095605592f04aee5c351057afa0bbd8e35 (patch) | |
tree | 75152a3a85432ff37d64c697a6c2d7376ca06239 /sys-apps/nvme-cli | |
parent | sys-apps/nvme-cli: install systemd and udev files in the right place (diff) | |
download | gentoo-f6ee38095605592f04aee5c351057afa0bbd8e35.tar.gz gentoo-f6ee38095605592f04aee5c351057afa0bbd8e35.tar.bz2 gentoo-f6ee38095605592f04aee5c351057afa0bbd8e35.zip |
sys-apps/nvme-cli: trim "/system" from SYSTEMDDIR
Bug: https://bugs.gentoo.org/704406
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-apps/nvme-cli')
-rw-r--r-- | sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild (renamed from sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild) | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild b/sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild index 885116b4ac70..ab7d6ab7125f 100644 --- a/sys-apps/nvme-cli/nvme-cli-1.9-r1.ebuild +++ b/sys-apps/nvme-cli/nvme-cli-1.9-r2.ebuild @@ -28,7 +28,8 @@ src_prepare() { src_configure() { tc-export CC export PREFIX="${EPREFIX}/usr" - export SYSTEMDDIR="$(systemd_get_systemunitdir)" + local unitdir="$(systemd_get_systemunitdir)" + export SYSTEMDDIR="${unitdir%/system}" export UDEVDIR="${EPREFIX}$(get_udevdir)" MAKEOPTS+=" LIBUUID=$(usex uuid 0 1)" } |