mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-cpp/scitokens-cpp: die if unbundling fails
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user