summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-03 14:41:17 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-12 22:14:31 +0300
commit6735fb661c84f47ce0b7101c2c3de679c7a729a1 (patch)
tree2b6e37be3504ea517435f2b7cba064c5756663db /eclass/selinux-policy-2.eclass
parentruby-ng-gnome2.eclass: fix UnquotedVariable of EPREFIX (diff)
downloadgentoo-6735fb661c84f47ce0b7101c2c3de679c7a729a1.tar.gz
gentoo-6735fb661c84f47ce0b7101c2c3de679c7a729a1.tar.bz2
gentoo-6735fb661c84f47ce0b7101c2c3de679c7a729a1.zip
selinux-policy-2.eclass: fix UnquotedVariable of S
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'eclass/selinux-policy-2.eclass')
-rw-r--r--eclass/selinux-policy-2.eclass8
1 files 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