Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Exit after a portsnap error properly

  • Loading branch information...
commit abdb3e92db862a3e4a435b8fb0de1804a8f1a0ec 1 parent c90f8da
@kmoore134 kmoore134 authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/build-iso.sh
View
5 scripts/build-iso.sh
@@ -86,14 +86,19 @@ do_ports()
do_ports_all()
{
sh ${PROGDIR}/scripts/portbuild.sh portsnap
+ exit $?
}
do_ports_pcbsd()
{
if [ ! -d "${PJPORTSDIR}" ] ; then
sh ${PROGDIR}/scripts/portbuild.sh portsnap
+ if [ $? -ne 0 ] ; then
+ exit 1
+ fi
fi
sh ${PROGDIR}/scripts/portbuild.sh portmerge
+ exit $?
}
echo "Operation started: `date`"
Please sign in to comment.
Something went wrong with that request. Please try again.