From e31c1b3fd9be5a318ab7b56468ad5de6f73766b0 Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 29 Jul 2007 19:38:08 +0000 Subject: * Remove support for 4 and 4-exp builds and add 6-exp2 experimental build * Only hardlink the old log files instead of anything else that might be in the directories * Add comment that old logfiles should be removed as well as packages, to avoid duplicate versions of the same port log --- Tools/portbuild/scripts/dopackages | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Tools/portbuild') diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages index 013b02e271b..6be5ec1c7a7 100755 --- a/Tools/portbuild/scripts/dopackages +++ b/Tools/portbuild/scripts/dopackages @@ -253,7 +253,7 @@ fi branch=$1 date=$2 -if [ "x$branch" != x4 -a "x$branch" != x4-exp -a "x$branch" != x5 -a "x$branch" != x5-exp -a "x$branch" != x6 -a "x$branch" != x6-exp -a "x$branch" != x7 ]; then +if [ "x$branch" != x5 -a "x$branch" != x5-exp -a "x$branch" != x6 -a "x$branch" != x6-exp -a "x$branch" != "x6-exp2" -a "x$branch" != x7 ]; then usage fi @@ -397,11 +397,12 @@ if [ "$skipstart" = 0 ]; then fi # Create hardlinks to previous set of logs - cd ${oldlogs} && find . | cpio -dumpl ${newlogs} - cd ${olderrors} && find . | cpio -dumpl ${newerrors} + cd ${oldlogs} && find . -name \*.log\* | cpio -dumpl ${newlogs} + cd ${olderrors} && find . -name \*.log\* | cpio -dumpl ${newerrors} # Identify the ports that have changed and need to be removed before rebuilding # XXX Need to also remove stale distfiles + # XXX and logs? cd ${PORTSDIR} cut -f 1,2,3,8,9,11,12,13 -d \| ${INDEXFILE}.old | sort > ${INDEXFILE}.old1 cut -f 1,2,3,8,9,11,12,13 -d \| ${INDEXFILE} | sort > ${INDEXFILE}.1 -- cgit