summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-packages9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 8660346..654da8d 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -330,10 +330,15 @@ while [ "${count}" -ne 0 ]; do
if ! ${success}; then
for log in *'.build-log'; do
if [ -f "${log}" ]; then
- gzip "${log}"
+ if ${upload_to_build_master}; then
+ gzip "${log}"
+ else
+ grep -HF '' "${log}"
+ fi
fi
done
- if tar -cf 'build-logs.gz.tar' \
+ if ${upload_to_build_master} && \
+ tar -cf 'build-logs.gz.tar' \
-- *'.build-log.gz'; then
while ! ssh \
-i "${master_build_server_identity}" \