diff options
author | 2022-01-08 21:43:23 -0800 | |
---|---|---|
committer | 2022-01-08 21:46:02 -0800 | |
commit | 27c82e515cd528feba5bfc69875b37ffa7afe745 (patch) | |
tree | ea29fb12c18d26a82cf68236e28d24e8a837625c /sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild | |
parent | dev-python/tempora: Bump to 5.0.0 (diff) | |
download | gentoo-27c82e515cd528feba5bfc69875b37ffa7afe745.tar.gz gentoo-27c82e515cd528feba5bfc69875b37ffa7afe745.tar.bz2 gentoo-27c82e515cd528feba5bfc69875b37ffa7afe745.zip |
sec-policy/selinux-base-policy: Fix use of $ROOT in src_compile
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild')
-rw-r--r-- | sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild b/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild index 8f43b477ccee..9e42cf570b5f 100644 --- a/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild +++ b/sec-policy/selinux-base-policy/selinux-base-policy-2.20200818-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -72,7 +72,7 @@ src_prepare() { src_compile() { for i in ${POLICY_TYPES}; do - emake NAME=$i SHAREDIR="${ROOT}"/usr/share/selinux -C "${S}"/${i} + emake NAME=$i SHAREDIR="${SYSROOT%/}/usr/share/selinux" -C "${S}"/${i} done } |