summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-09-11 00:03:12 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-09-11 00:03:12 +0000
commit10bd1061ba13ffdef397ae601d49ae2f87015355 (patch)
tree4b55e5bad9bad724053af8c511bd66c6f1cfaa38 /Tools
parentChecksum changed on us. (diff)
Copy logs to ${portbuild}/buildlogs/${branch}.log.${date}.
Replace another explicit mail address with ${mailto}.
Notes
Notes: svn path=/head/; revision=21633
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages210
1 files changed, 7 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/dopackages2 b/Tools/portbuild/scripts/dopackages2
index 635000541e49..5d36929262a3 100755
--- a/Tools/portbuild/scripts/dopackages2
+++ b/Tools/portbuild/scripts/dopackages2
@@ -5,19 +5,23 @@ pb=/a/asami/portbuild
mailto=asami@freebsd.org
lock=${pb}/lock
+date=$(date '+%Y%m%d')
if [ -e ${lock} ]; then
- echo "Skipped since lock file exists" | sendmail asami@freebsd.org
+ echo "Skipped package build since lock file exists" | sendmail $mailto
exit 1
fi
touch ${lock}
+mkdir -p ${pb}/buildlogs
${pb}/scripts/dopackages 4 2>&1 \
- | tee /a/asami/portbuild/4/build.log \
+ | tee ${pb}/4/build.log \
| sendmail $mailto
+cp -p ${pb}/4/build.log ${pb}/buildlogs/4.log.${date}
${pb}/scripts/dopackages -nocvsup 3 2>&1 \
- | tee /a/asami/portbuild/3/build.log \
+ | tee ${pb}/3/build.log \
| sendmail $mailto
+cp -p ${pb}/3/build.log ${pb}/buildlogs/3.log.${date}
rm -f ${lock}