aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSven Vermeulen <sven.vermeulen@siphos.be>2011-08-03 13:15:47 +0200
committerSven Vermeulen <sven.vermeulen@siphos.be>2011-08-03 13:15:47 +0200
commit9fad4b94864b862d60ca24a0dac34e65b35d4000 (patch)
tree89899b4000a791d6265b8e0c9101cf6f5ab7809d /eclass
parentUse bash tests. Do not use quotation when we are confident that the variable ... (diff)
downloadhardened-dev-9fad4b94864b862d60ca24a0dac34e65b35d4000.tar.gz
hardened-dev-9fad4b94864b862d60ca24a0dac34e65b35d4000.tar.bz2
hardened-dev-9fad4b94864b862d60ca24a0dac34e65b35d4000.zip
epatch always dies (not related to any EAPI). Thanks to Peter Volkov (pva@g.o)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/selinux-policy-2.eclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/selinux-policy-2.eclass b/eclass/selinux-policy-2.eclass
index 9808fabf..5b92514b 100644
--- a/eclass/selinux-policy-2.eclass
+++ b/eclass/selinux-policy-2.eclass
@@ -125,9 +125,7 @@ selinux-policy-2_src_prepare() {
for POLPATCH in "${POLICY_PATCH}";
do
cd "${S}/refpolicy/policy/modules"
- # Although epatch dies in EAPI=4 by itself, we support other EAPIs
- # too for the time being, so we explicitly die on it.
- epatch "${POLPATCH}" || die "Failed to apply patch ${POLPATCH}"
+ epatch "${POLPATCH}"
done
fi