aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2007-02-18 16:55:39 +0800
committerkris <kris@FreeBSD.org>2007-02-18 16:55:39 +0800
commit1cb9da0dfc5ca2aaefbcecdb0e174a61f67685d5 (patch)
tree72bbb7f145d47a53dfca48e33b81221f10fc3719 /Tools
parentf2b422b63daec9b3096a769502341d35f3628817 (diff)
downloadfreebsd-ports-gnome-1cb9da0dfc5ca2aaefbcecdb0e174a61f67685d5.tar.gz
freebsd-ports-gnome-1cb9da0dfc5ca2aaefbcecdb0e174a61f67685d5.tar.zst
freebsd-ports-gnome-1cb9da0dfc5ca2aaefbcecdb0e174a61f67685d5.zip
Index building needs to happen before prunefailures is run, otherwise it
will completely erase the list. When using -continue, don't append to the duds.errors, we don't want to preserve the old cruft from a previous build
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/dopackages12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/portbuild/scripts/dopackages b/Tools/portbuild/scripts/dopackages
index e44680a817c0..013b02e271be 100755
--- a/Tools/portbuild/scripts/dopackages
+++ b/Tools/portbuild/scripts/dopackages
@@ -319,6 +319,11 @@ if [ "$skipstart" = 0 ]; then
makeduds ${pb} ${arch} ${scripts} ${branch}
fi
+ if [ "$noindex" = 0 ]; then
+ makeindex ${pb} ${arch} ${scripts} ${branch}
+ fi
+ checkindex ${pb} ${arch} ${branch}
+
if [ "$trybroken" = 1 ]; then
echo "================================================"
echo "pruning stale entries from the failed ports list"
@@ -326,11 +331,6 @@ if [ "$skipstart" = 0 ]; then
cp ${pb}/${arch}/${branch}/failure ${pb}/${arch}/${branch}/newfailure ${pb}/${arch}/${branch}/bak
lockf -k ${pb}/${arch}/${branch}/failure.lock ${scripts}/prunefailure ${arch} ${branch}
fi
-
- if [ "$noindex" = 0 ]; then
- makeindex ${pb} ${arch} ${scripts} ${branch}
- fi
- checkindex ${pb} ${arch} ${branch}
fi
if [ "$nobuild" = 0 -a "$finish" = 0 ]; then
@@ -440,7 +440,7 @@ if [ "$nobuild" = 0 ]; then
cd ${pb}/${arch}/${branch}
if [ "$cont" = 1 ]; then
- find errors/ -name \*.log | sed -e 's,\.log$,,' -e 's,^errors/,,' >> duds.errors
+ find errors/ -name \*.log | sed -e 's,\.log$,,' -e 's,^errors/,,' > duds.errors
cat duds duds.errors | sort -u > duds.new
mv duds.new duds
else