commit:     02dd151b8d9d1b8bce6e50b1e0e1bc3ce2a70174
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Thu Apr  4 04:59:53 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Thu Apr  4 04:59:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=02dd151b

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

Signed-off-by: Alberto Gireud <agireud <AT> protonmail.com>

 net-irc/halloy/halloy-2024.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-irc/halloy/halloy-2024.5.ebuild 
b/net-irc/halloy/halloy-2024.5.ebuild
index 03109f7cc6..b263d56848 100644
--- a/net-irc/halloy/halloy-2024.5.ebuild
+++ b/net-irc/halloy/halloy-2024.5.ebuild
@@ -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
 }

Reply via email to