From 6848e4469cda0046022cfff2a9484cedf9bc0d12 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 21 Jun 2017 09:55:11 +0200 Subject: bin/build-packages: first gzip, then tar --- bin/build-packages | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index 3d9853e..54dbb1c 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -247,14 +247,17 @@ while [ ${count} -ne 0 ]; do done if ! ${success}; then - tar -czf 'build-logs.tar.gz' \ - *'.build-log' + for log in *.'.build-log'; do + gzip "${log}" + done + tar -cf 'build-logs.gz.tar' \ + *'.build-log.gz' while ! ssh \ -i "${master_build_server_identity}" \ -p "${master_build_server_port}" \ "${master_build_server_user}@${master_build_server}" \ 'return-assignment' "${package}" "${git_revision}" "${mod_git_revision}" "${repository}" 'ERROR' < \ - 'build-logs.tar.gz'; do + 'build-logs.gz.tar'; do wait_some_time 15 done if ${exit_after_failure}; then -- cgit v1.2.3-70-g09d2