From 78da4d4e35e4e6e3b04ecc330c0265a4311d0b77 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 12 Dec 2018 11:03:50 +0100 Subject: [PATCH] sys-fs/lvm2: Minor ebuild improvements. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Lars Wendler --- sys-fs/lvm2/lvm2-2.02.183.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-fs/lvm2/lvm2-2.02.183.ebuild b/sys-fs/lvm2/lvm2-2.02.183.ebuild index ea67d28a6d8c0..6ea92b0ac7685 100644 --- a/sys-fs/lvm2/lvm2-2.02.183.ebuild +++ b/sys-fs/lvm2/lvm2-2.02.183.ebuild @@ -197,12 +197,12 @@ src_compile() { } src_install() { - local inst - INSTALL_TARGETS="install install_tmpfiles_configuration" + local inst INSTALL_TARGETS + INSTALL_TARGETS=( install install_tmpfiles_configuration ) # install systemd related files only when requested, bug #522430 - use systemd && INSTALL_TARGETS="${INSTALL_TARGETS} install_systemd_units install_systemd_generators" - use device-mapper-only && INSTALL_TARGETS="install_device-mapper" - for inst in ${INSTALL_TARGETS}; do + use systemd && INSTALL_TARGETS+=( install_systemd_units install_systemd_generators ) + use device-mapper-only && INSTALL_TARGETS=( install_device-mapper ) + for inst in ${INSTALL_TARGETS[@]}; do emake DESTDIR="${D}" ${inst} done