Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix detecting if we have a poudriere ports tree ready

  • Loading branch information...
commit 60adce51c6c1b13958a1deba30f223ee75e90650 1 parent fef2187
@kmoore134 kmoore134 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  scripts/build-iso.sh
View
3  scripts/build-iso.sh
@@ -70,7 +70,8 @@ do_ports()
fi
# Check if we have a portstree to build
- if [ ! -d "${PJPORTSDIR}" ] ; then
+ poudriere ports -l | grep -q "^$POUDPORTS"
+ if [ $? -ne 0 ] ; then
sh ${PROGDIR}/scripts/portbuild.sh portsnap
sync ; sleep 1
fi
Please sign in to comment.
Something went wrong with that request. Please try again.