net-irc/halloy: Ensure build fails if sed command fails

Signed-off-by: Alberto Gireud <agireud@protonmail.com>
This commit is contained in:
Alberto Gireud
2024-04-03 23:59:53 -05:00
parent e938fd7d76
commit 02dd151b8d

View File

@@ -551,7 +551,7 @@ src_configure() {
if [[ ${PV} != *9999* ]] ; then
# Fix cargo.eclass handling of patched dependencies
# https://github.com/squidowl/halloy/blob/main/Cargo.toml#L52-L54
sed -i "s,'https://github.com/iced-rs/iced',crates-io,g" "${ECARGO_HOME}/config"
sed -i "s,'https://github.com/iced-rs/iced',crates-io,g" "${ECARGO_HOME}/config" || die
fi
cargo_src_configure
}