Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/
Date: Wed, 12 Dec 2018 11:57:41
Message-Id: 1544615850.78da4d4e35e4e6e3b04ecc330c0265a4311d0b77.polynomial-c@gentoo
1 commit: 78da4d4e35e4e6e3b04ecc330c0265a4311d0b77
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 12 10:03:50 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 12 11:57:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78da4d4e
7
8 sys-fs/lvm2: Minor ebuild improvements.
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-fs/lvm2/lvm2-2.02.183.ebuild | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16 diff --git a/sys-fs/lvm2/lvm2-2.02.183.ebuild b/sys-fs/lvm2/lvm2-2.02.183.ebuild
17 index ea67d28a6d8..6ea92b0ac76 100644
18 --- a/sys-fs/lvm2/lvm2-2.02.183.ebuild
19 +++ b/sys-fs/lvm2/lvm2-2.02.183.ebuild
20 @@ -197,12 +197,12 @@ src_compile() {
21 }
22
23 src_install() {
24 - local inst
25 - INSTALL_TARGETS="install install_tmpfiles_configuration"
26 + local inst INSTALL_TARGETS
27 + INSTALL_TARGETS=( install install_tmpfiles_configuration )
28 # install systemd related files only when requested, bug #522430
29 - use systemd && INSTALL_TARGETS="${INSTALL_TARGETS} install_systemd_units install_systemd_generators"
30 - use device-mapper-only && INSTALL_TARGETS="install_device-mapper"
31 - for inst in ${INSTALL_TARGETS}; do
32 + use systemd && INSTALL_TARGETS+=( install_systemd_units install_systemd_generators )
33 + use device-mapper-only && INSTALL_TARGETS=( install_device-mapper )
34 + for inst in ${INSTALL_TARGETS[@]}; do
35 emake DESTDIR="${D}" ${inst}
36 done