commit:     b9d3696c4f4da70bd4ef3c570181abcdf0ae90b3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 27 18:38:46 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 27 18:38:46 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=b9d3696c

gpy-impl-list: Include proper error handling

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 gpy-impl-list | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gpy-impl-list b/gpy-impl-list
index efb38f5..be70554 100755
--- a/gpy-impl-list
+++ b/gpy-impl-list
@@ -10,7 +10,7 @@ fi
 IRC='ircs://irc.libera.chat/#gentoo-python'
 
 irk "${IRC}" - <<<$'\0'
-gpy-list-pkg-impls > "${OUTDIR}"/python-pkg-impls.txt.new
+gpy-list-pkg-impls > "${OUTDIR}"/python-pkg-impls.txt.new || exit 1
 while read -r x; do
        irk "${IRC}" "${x}"
 done < <(git diff --no-index -s --word-diff -U0 
"${OUTDIR}"/python-pkg-impls.txt{,.new} | tail -n +5 | grep -v '^@@')

Reply via email to