dev-cpp/scitokens-cpp: die if unbundling fails

Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
Oliver Freyermuth
2023-05-01 14:57:52 +02:00
parent 6ee71e7995
commit 20669b5fe8
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ RESTRICT="!test? ( test )"
src_prepare() {
# Unbundle dev-cpp/gtest, dev-cpp/jwt-cpp
rm -rvf vendor
rm -r vendor || die
# Fix include path for picojson.
find src/ \( -name '*.cpp' -o -name '*.h' \) -type f -print0 | \
xargs -0 sed -r -e "s:picojson/picojson\.h:picojson.h:g" -i || die