diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-06-16 16:38:57 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2012-06-16 16:38:57 +0200 |
commit | c1bcfdbf405f07d53e23e81875bfdc804d93337d (patch) | |
tree | 7f828c7f8e1ddec7a9c7ca5fd4c6e81d9601eb63 | |
parent | No-op on log sending when the analysis address is unset. (diff) | |
download | flameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.tar.gz flameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.tar.bz2 flameeyes-tinderbox-c1bcfdbf405f07d53e23e81875bfdc804d93337d.zip |
If we have an automake failure, inline the log file, this way we don't have to hunt for it.
-rwxr-xr-x | bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -62,6 +62,11 @@ tinderbox_failed() { dent_me "${CATEGORY}/${PF} merge #failed$(tinderbox_stats)" SANDBOX_ON=0 sed -i -e "\$a =${CATEGORY}/${PF}" /etc/portage/package.mask/currentrun + # check if this is an automake failure and if so, get the whole log inlined + if grep -f -q "/temp/automake.out" "${PORTAGE_LOG_FILE}"; then + cat "${T}"/automake.log + fi + tinderbox_send_log } |