summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-09-22 00:59:47 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-09-22 00:59:47 +0000
commitc1eecfce5a8c85c7984fc93c05b39b6a84c2f56e (patch)
tree303ce201169ab31753d5a21a242fd1e10740601e /Tools
parentAnother case for compiler error. (diff)
Put build logs in "archive/buildlogs" and make a symlink to it.
Notes
Notes: svn path=/head/; revision=21871
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages210
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/portbuild/scripts/dopackages2 b/Tools/portbuild/scripts/dopackages2
index 5d36929262a3..c464dfdf690d 100755
--- a/Tools/portbuild/scripts/dopackages2
+++ b/Tools/portbuild/scripts/dopackages2
@@ -13,15 +13,15 @@ if [ -e ${lock} ]; then
fi
touch ${lock}
-mkdir -p ${pb}/buildlogs
+mkdir -p ${pb}/archive/buildlogs
+ln -sf ${pb}/archive/buildlogs/log.4.${date} ${pb}/4/build.log
${pb}/scripts/dopackages 4 2>&1 \
- | tee ${pb}/4/build.log \
+ | tee ${pb}/archive/buildlogs/log.4.${date} \
| sendmail $mailto
-cp -p ${pb}/4/build.log ${pb}/buildlogs/4.log.${date}
+ln -sf ${pb}/archive/buildlogs/log.3.${date} ${pb}/3/build.log
${pb}/scripts/dopackages -nocvsup 3 2>&1 \
- | tee ${pb}/3/build.log \
+ | tee ${pb}/archive/buildlogs/log.3.${date} \
| sendmail $mailto
-cp -p ${pb}/3/build.log ${pb}/buildlogs/3.log.${date}
rm -f ${lock}