diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2006-03-13 03:05:51 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2006-03-13 03:05:51 +0000 |
commit | fc0b01f6655d37895ed67495c943eb634700d225 (patch) | |
tree | 9250f406b1b0408f45d56e8f974b83093e8e615f /Tools | |
parent | 0a3523a185becfbc9b30b79a95190046e722f9b3 (diff) | |
download | ports-fc0b01f6655d37895ed67495c943eb634700d225.tar.gz ports-fc0b01f6655d37895ed67495c943eb634700d225.zip |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/pdispatch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch index 7fef2dfb7bad..1eaed51f07a9 100755 --- a/Tools/portbuild/scripts/pdispatch +++ b/Tools/portbuild/scripts/pdispatch @@ -91,14 +91,14 @@ while `true`; do rm -f ${pb}/${arch}/${branch}/errors/${pkgname}.log ${pb}/${arch}/${branch}/errors/${pkgname}.log.bz2 echo "dispatching: ssh -a -t -n ${client_user}@${host} ${sudo_cmd} ${command} ${arch} ${branch} ${chroot} ${flags} \"$ED\" \"$PD\" \"$FD\" \"$BD\" \"$RD\" ${args}" - (${pb}/scripts/ptimeout.host $timeout ssh -a -t -n ${client_user}@${host} ${sudo_cmd} ${command} ${arch} ${branch} ${chroot} ${flags} \"$ED\" \"$PD\" \"$FD\" \"$BD\" \"$RD\" ${args} 2>&1) | tee ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log + ${pb}/scripts/ptimeout.host $timeout ssh -a -t -n ${client_user}@${host} ${sudo_cmd} ${command} ${arch} ${branch} ${chroot} ${flags} \"$ED\" \"$PD\" \"$FD\" \"$BD\" \"$RD\" ${args} 2>&1 error=$? - if grep -q " failed unexpectedly on " ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log; then - cat ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log | mail -s "${pkgname} failed uncleanly on ${arch} ${branch}" ${mailto} - else - rm ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log - fi + #if grep -q " failed unexpectedly on " ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log; then + # cat ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log | mail -s "${pkgname} failed uncleanly on ${arch} ${branch}" ${mailto} + #else + # rm ${pb}/${arch}/${branch}/logs/${pkgname}.pre.log + #fi # Pull in the results of the build from the client |