diff options
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/lvm2-2.02.183.ebuild | 10 |
1 files 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 ea67d28a6d8c..6ea92b0ac768 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 |