diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-25 14:46:33 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-25 14:46:33 +0100 |
commit | 2493203ee53befbf46de0ff7908214b5e64033a8 (patch) | |
tree | 2602496b4288b74744c0dc082cc0f4f966d75510 /config/data/coreboot | |
parent | ad333ae24810dcb762d5561d0b7d7dabec7c0eac (diff) |
get.sh: Properly error out if tmpclone fails
We rely on a non-zero exit on other try_ commands, which
works fine there because we then check the file afterward
and error out accordingly.
For git repositories, we assume that both mirrors are
identical and therefore once we get to the first clone
attempt, we assume that it must succeed.
Therefore, if it does not succeed, we must fail. This fixes
a regression I found in testing, where sometimes a failed
patching attempt would not result in an error exit, and
would therefore result in broken sources being present.
In practise, I always very closely watch the terminal when
testing xbmk, especially when updating project patches, so
we probably didn't introduce any broken sources in practice.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/data/coreboot')
0 files changed, 0 insertions, 0 deletions