aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2007-07-29 19:38:08 +0000
committerKris Kennaway <kris@FreeBSD.org>2007-07-29 19:38:08 +0000
commitb3551fde44535fabcc754974fcf0a23222c8b7c3 (patch)
tree64bf4db9eeedc76ad012c4d16671e5eb750f4df2 /Tools
parent87b4c7c51174f4c4c10d38b3f522910f11d32f7a (diff)
downloadports-b3551fde44535fabcc754974fcf0a23222c8b7c3.tar.gz
ports-b3551fde44535fabcc754974fcf0a23222c8b7c3.zip
* 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
Notes
Notes: svn path=/head/; revision=196634
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages
index 013b02e271be..6be5ec1c7a78 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