1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Put build logs in "archive/buildlogs" and make a symlink to it.

This commit is contained in:
Satoshi Asami 1999-09-22 00:59:47 +00:00
parent 84768fa69e
commit c1eecfce5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21871

View File

@ -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}