diff options
Diffstat (limited to 'bashrc')
-rwxr-xr-x | bashrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -41,14 +41,24 @@ tinderbox_stats() { fi } +tinderbox_send_log() { + tar cf - "${PORTAGE_LOG_FILE}" | \ + nc6 --send-only --hold-timeout=0 ${TINDERBOX_ANALYSIS_ADDR} +} + tinderbox_success() { dent_me "${CATEGORY}/${PF} merge #succeded$(tinderbox_stats)" + + tinderbox_send_log } tinderbox_failed() { [[ ${EBUILD_PHASE} == test ]] && return 0 + dent_me "${CATEGORY}/${PF} merge #failed$(tinderbox_stats)" SANDBOX_ON=0 sed -i -e "\$a =${CATEGORY}/${PF}" /etc/portage/package.mask/currentrun + + tinderbox_send_log } tinderbox_if_file() { |