diff options
author | kris <kris@FreeBSD.org> | 2007-07-30 03:38:08 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2007-07-30 03:38:08 +0800 |
commit | e31c1b3fd9be5a318ab7b56468ad5de6f73766b0 (patch) | |
tree | a6733655544738b2394ba2fa7bd981385d5788ee /Tools/portbuild | |
parent | d4d65be9a147f07a3143cbc2978b171bf5a48ebc (diff) | |
download | freebsd-ports-gnome-e31c1b3fd9be5a318ab7b56468ad5de6f73766b0.tar.gz freebsd-ports-gnome-e31c1b3fd9be5a318ab7b56468ad5de6f73766b0.tar.zst freebsd-ports-gnome-e31c1b3fd9be5a318ab7b56468ad5de6f73766b0.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
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/dopackages | 7 |
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 |