Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Mon, 12 Sep 2022 19:14:41
Message-Id: 1663010071.6735fb661c84f47ce0b7101c2c3de679c7a729a1.arthurzam@gentoo
1 commit: 6735fb661c84f47ce0b7101c2c3de679c7a729a1
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 11:41:17 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 12 19:14:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6735fb66
7
8 selinux-policy-2.eclass: fix UnquotedVariable of S
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 eclass/selinux-policy-2.eclass | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
16 index 7b6f9aac6ebc..f00e3555b6be 100644
17 --- a/eclass/selinux-policy-2.eclass
18 +++ b/eclass/selinux-policy-2.eclass
19 @@ -187,11 +187,11 @@ selinux-policy-2_src_prepare() {
20
21 # Collect only those files needed for this particular module
22 for i in ${MODS}; do
23 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.te) $modfiles"
24 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.fc) $modfiles"
25 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.cil) $modfiles"
26 + modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.te) $modfiles"
27 + modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.fc) $modfiles"
28 + modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.cil) $modfiles"
29 if [[ ${add_interfaces} -eq 1 ]]; then
30 - modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.if) $modfiles"
31 + modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.if) $modfiles"
32 fi
33 done