[arch-projects] [devtools] [PATCH] offload-build: return failure if no package files were found
2 Dec
2019
2 Dec
'19
11:51 p.m.
This means that the remote command died at some stage earlier than the printing of created files. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> --- offload-build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/offload-build b/offload-build index dab036d..e607a16 100755 --- a/offload-build +++ b/offload-build @@ -116,4 +116,6 @@ if (( ${#files[@]} )); then printf '%s\n' '' '-> copying files...' load_makepkg_config scp "${files[@]/#/$server:}" "${PKGDEST:-${PWD}}/" +else + exit 1 fi -- 2.24.0
1776
Age (days ago)
1776
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eli Schwartz