Skip to content

Commit b4f8865

Browse files
committed
Catch asp checkout errors and abort
This is cause probably because the job ran before the svntogit synced properly. Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
1 parent da4bd2a commit b4f8865

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

repro.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,10 @@ function cmd_check(){
381381
bash <<-__END__
382382
shopt -s globstar
383383
pacman -S asp --noconfirm --needed
384-
asp checkout $pkgbase
384+
if ! asp checkout $pkgbase; then
385+
echo "ERROR: Failed checkout $pkgbase" >&2
386+
exit 1
387+
fi
385388
pushd $pkgbase
386389
for rev in \$(git rev-list --all -- repos/); do
387390
pkgbuild_checksum=\$(git show \$rev:trunk/PKGBUILD | sha256sum -b)

0 commit comments

Comments
 (0)