summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2022-07-27 09:47:00 -0400
committerAnthony G. Basile <blueness@gentoo.org>2022-07-27 09:47:47 -0400
commit6b3c848cd91dfcc42d80dc1b17b74844154ad117 (patch)
tree33c9234194c6b1816efba7183cf1158475edefa6 /dev-util
parentdev-util/valgrind: add missing musl.supp (diff)
downloadgentoo-6b3c848cd91dfcc42d80dc1b17b74844154ad117.tar.gz
gentoo-6b3c848cd91dfcc42d80dc1b17b74844154ad117.tar.bz2
gentoo-6b3c848cd91dfcc42d80dc1b17b74844154ad117.zip
dev-util/valgrind: add || die to cp as a sanity check
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/valgrind/valgrind-3.19.0.ebuild2
-rw-r--r--dev-util/valgrind/valgrind-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/valgrind/valgrind-3.19.0.ebuild b/dev-util/valgrind/valgrind-3.19.0.ebuild
index 4ff9c8e71913..11beb6636e97 100644
--- a/dev-util/valgrind/valgrind-3.19.0.ebuild
+++ b/dev-util/valgrind/valgrind-3.19.0.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
# conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
- cp "${FILESDIR}/musl.supp" "${S}"
+ cp "${FILESDIR}/musl.supp" "${S}" || die
eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
fi
diff --git a/dev-util/valgrind/valgrind-9999.ebuild b/dev-util/valgrind/valgrind-9999.ebuild
index 4ff9c8e71913..11beb6636e97 100644
--- a/dev-util/valgrind/valgrind-9999.ebuild
+++ b/dev-util/valgrind/valgrind-9999.ebuild
@@ -36,7 +36,7 @@ src_prepare() {
# conditionally copy musl specific suppressions && apply patch
if use elibc_musl ; then
- cp "${FILESDIR}/musl.supp" "${S}"
+ cp "${FILESDIR}/musl.supp" "${S}" || die
eapply "${FILESDIR}/valgrind-3.13.0-malloc.patch"
fi