aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-27 20:38:46 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-27 20:38:46 +0200
commitb9d3696c4f4da70bd4ef3c570181abcdf0ae90b3 (patch)
treebf173475b52b5a45417305eb1908f8497ac14a37 /gpy-impl-list
parentBump pkgcheck2html (diff)
downloadqa-scripts-b9d3696c4f4da70bd4ef3c570181abcdf0ae90b3.tar.gz
qa-scripts-b9d3696c4f4da70bd4ef3c570181abcdf0ae90b3.tar.bz2
qa-scripts-b9d3696c4f4da70bd4ef3c570181abcdf0ae90b3.zip
gpy-impl-list: Include proper error handling
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'gpy-impl-list')
-rwxr-xr-xgpy-impl-list2
1 files changed, 1 insertions, 1 deletions
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 '^@@')