diff options
-rwxr-xr-x | bashrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -41,10 +41,14 @@ tinderbox_stats() { fi } -tinderbox_send_log() { - tar cf - "${PORTAGE_LOG_FILE}" | \ - nc6 --send-only --hold-timeout=0 ${TINDERBOX_ANALYSIS_ADDR} -} +if [[ -n "${TINDERBOX_ANALYSIS_ADDR}" ]]; then + tinderbox_send_log() { + tar cf - "${PORTAGE_LOG_FILE}" | \ + nc6 --send-only --hold-timeout=0 ${TINDERBOX_ANALYSIS_ADDR} + } +else + tinderbox_send_log() { :; } +fi tinderbox_success() { dent_me "${CATEGORY}/${PF} merge #succeded$(tinderbox_stats)" |