diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-07-30 20:05:49 -0400 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2019-08-09 19:41:53 +0200 |
commit | 93dbb14ab9f99e0ac6077637e444e1662ff09bd5 (patch) | |
tree | 2a33405fc6aab162119a6c712544ecd039c2ea5e /archbuild.in | |
parent | 10c6efc440c732b70c1f11302777987cdf7e31de (diff) | |
download | devtools32-93dbb14ab9f99e0ac6077637e444e1662ff09bd5.tar.xz |
archrelease: actually fail in failure conditions
When svn ls fails due to network timeouts, this currently results in
archrelease deleting all files, then committing this as the changeset.
This causes data loss...
With bash 4.4 and using wait $! we can get return the return code of the
last backgrounded command -- which process substitution qualifies as.
Key off of this to make sure that `svn ls` actually succeeded.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'archbuild.in')
0 files changed, 0 insertions, 0 deletions