aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-03-13 11:05:51 +0800
committerkris <kris@FreeBSD.org>2006-03-13 11:05:51 +0800
commit07473a43c4911528b23aa9edc6008cff01a7e36d (patch)
treeebed1973246ac73ef4c3805d60dead7f4e3ee83a /Tools/portbuild
parent5285470bcf7929454af7410fa2d8849c36579f41 (diff)
downloadfreebsd-ports-gnome-07473a43c4911528b23aa9edc6008cff01a7e36d.tar.gz
freebsd-ports-gnome-07473a43c4911528b23aa9edc6008cff01a7e36d.tar.zst
freebsd-ports-gnome-07473a43c4911528b23aa9edc6008cff01a7e36d.zip
Temporarily back out the pre.log change, it doesn't work properly.
Approved by: portmgr (implicit)
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/pdispatch12
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