aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-09-22 08:59:47 +0800
committerasami <asami@FreeBSD.org>1999-09-22 08:59:47 +0800
commitde95f60382dce546f65372c6f78bb71268540cdc (patch)
treecb0b0a1a61b758edd274ee7bf17e13257af1a64c /Tools/portbuild
parent89e08e7f7916ce02e88eb59ddde46820ac2340a5 (diff)
downloadfreebsd-ports-gnome-de95f60382dce546f65372c6f78bb71268540cdc.tar.gz
freebsd-ports-gnome-de95f60382dce546f65372c6f78bb71268540cdc.tar.zst
freebsd-ports-gnome-de95f60382dce546f65372c6f78bb71268540cdc.zip
Put build logs in "archive/buildlogs" and make a symlink to it.
Diffstat (limited to 'Tools/portbuild')
-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}