[PC-BSD Commits] r15799 - pcbsd/current/src-qt4/warden/scripts/backend

svn at pcbsd.org svn at pcbsd.org
Tue Mar 13 08:49:34 PDT 2012


Author: kris
Date: 2012-03-13 15:49:34 +0000 (Tue, 13 Mar 2012)
New Revision: 15799

Modified:
   pcbsd/current/src-qt4/warden/scripts/backend/functions.sh
Log:

Make sure we create the jdir



Modified: pcbsd/current/src-qt4/warden/scripts/backend/functions.sh
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/backend/functions.sh	2012-03-13 14:07:40 UTC (rev 15798)
+++ pcbsd/current/src-qt4/warden/scripts/backend/functions.sh	2012-03-13 15:49:34 UTC (rev 15799)
@@ -124,6 +124,7 @@
     [ -z "${MIRRORURL}" ] && MIRRORURL="ftp://ftp.pcbsd.org/pub/mirror"
   fi
 
+  if [ ! -d "${JDIR}" ] ; then mkdir -p "${JDIR}" ; fi
   cd ${JDIR}
 
   echo "Fetching jail environment. This may take a while..."



More information about the Commits mailing list