diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /eclass/llvm.org.eclass | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'eclass/llvm.org.eclass')
-rw-r--r-- | eclass/llvm.org.eclass | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index 2c5f1f9b79e5..fa23782cc244 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -300,15 +300,10 @@ llvm.org_src_unpack() { grep -E -r -L "^Gentoo-Component:.*(${components[*]})" \ "${WORKDIR}/llvm-gentoo-patchset-${LLVM_PATCHSET}" | xargs rm - assert - - if ver_test -ge 13.0.1_rc3; then - # fail if no patches remain - if [[ ! -s ${WORKDIR}/llvm-gentoo-patchset-${LLVM_PATCHSET} ]] - then - die "No patches in the patchset apply to the package" - fi - fi + local status=( "${PIPESTATUS[@]}" ) + [[ ${status[1]} -ne 0 ]] && die "rm failed" + [[ ${status[0]} -ne 0 ]] && + die "No patches in the patchset apply to the package" fi } |