commit:     6735fb661c84f47ce0b7101c2c3de679c7a729a1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  3 11:41:17 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 12 19:14:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6735fb66

selinux-policy-2.eclass: fix UnquotedVariable of S

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 eclass/selinux-policy-2.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
index 7b6f9aac6ebc..f00e3555b6be 100644
--- a/eclass/selinux-policy-2.eclass
+++ b/eclass/selinux-policy-2.eclass
@@ -187,11 +187,11 @@ selinux-policy-2_src_prepare() {
 
        # Collect only those files needed for this particular module
        for i in ${MODS}; do
-               modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.te) 
$modfiles"
-               modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.fc) 
$modfiles"
-               modfiles="$(find ${S}/refpolicy/policy/modules -iname $i.cil) 
$modfiles"
+               modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.te) 
$modfiles"
+               modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.fc) 
$modfiles"
+               modfiles="$(find "${S}/refpolicy/policy/modules" -iname $i.cil) 
$modfiles"
                if [[ ${add_interfaces} -eq 1 ]]; then
-                       modfiles="$(find ${S}/refpolicy/policy/modules -iname 
$i.if) $modfiles"
+                       modfiles="$(find "${S}/refpolicy/policy/modules" -iname 
$i.if) $modfiles"
                fi
        done
 

Reply via email to