aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2010-06-25 23:22:45 +0000
committerMark Linimon <linimon@FreeBSD.org>2010-06-25 23:22:45 +0000
commit3d5c2cff29b0ef4f7633b5cede4cdb873687e2ae (patch)
treef89cbd2ab83c6b48199b810a927942abde3d7697 /Tools
parentf1c9dc80e74ddfa75801b083be3bff1e3ffdebda (diff)
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/makeindex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/makeindex b/Tools/portbuild/scripts/makeindex
index c0664b8e2295..0635357158e2 100755
--- a/Tools/portbuild/scripts/makeindex
+++ b/Tools/portbuild/scripts/makeindex
@@ -28,6 +28,7 @@ shift 3
builddir=${pb}/${arch}/${branch}/builds/${buildid}
+. ${pb}/conf/server.conf
. ${pb}/${arch}/portbuild.conf
. ${pb}/scripts/buildenv
@@ -41,6 +42,10 @@ export LOCALBASE=/nonexistentlocal
cd ${PORTSDIR}
make index
+if [ ! -e ${INDEXFILE} ]; then
+ echo "makeindex: failed to make ${INDEXFILE}"
+ exit 1
+fi
# remove extra spaces in dependency list -- this causes problems
# Also transform the dummy paths to their canonical locations