commit:     cb00b0c3dc7d90202cebca86b48f3f4761ff5ed6
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 21 18:46:32 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Dec 21 18:49:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb00b0c3

sci-ml/onnx: add die to rm -rf

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/onnx/onnx-1.20.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-ml/onnx/onnx-1.20.0.ebuild b/sci-ml/onnx/onnx-1.20.0.ebuild
index 93612ebdf18f..e257fcc637f7 100644
--- a/sci-ml/onnx/onnx-1.20.0.ebuild
+++ b/sci-ml/onnx/onnx-1.20.0.ebuild
@@ -53,7 +53,7 @@ python_compile() {
                "${mycmakeargs[@]}"
                -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake"
        )
-       rm -rf .setuptools-cmake-build
+       rm -rf .setuptools-cmake-build || die
        CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_python_compile
 }
 

Reply via email to