Permalink
Browse files

Check if the port INDEX fails to build, since this will screw up

poudriere
  • Loading branch information...
1 parent c97e21a commit 41bfe72b706e082b9de6742c4b51290f9ba7073e @kmoore134 kmoore134 committed Nov 23, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 scripts/portbuild.sh
View
@@ -170,6 +170,10 @@ do_pcbsd_portmerge()
# Create the ports INDEX file
cd ${PJPORTSDIR}
make -C ${PJPORTSDIR} PORTSDIR=${PJPORTSDIR} __MAKE_CONF=/usr/local/etc/poudriere.d/$PBUILD-make.conf index
+ if [ $? -ne 0 ] ; then
+ echo "Failed building port INDEX..."
+ exit 1
+ fi
# Make dist ports files
rm ${PROGDIR}/usr/ports 2>/dev/null

0 comments on commit 41bfe72

Please sign in to comment.