[PC-BSD Commits] r9434 - pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts
svn at pcbsd.org
svn at pcbsd.org
Tue Mar 1 12:20:02 PST 2011
Author: kris
Date: 2011-03-01 12:20:02 -0800 (Tue, 01 Mar 2011)
New Revision: 9434
Modified:
pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh
Log:
Make sure the portjail dir exists before running the build
Modified: pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh
===================================================================
--- pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh 2011-03-01 19:10:35 UTC (rev 9433)
+++ pcbsd/current/system-overlay/usr/local/share/pcbsd/scripts/portjail.sh 2011-03-01 20:20:02 UTC (rev 9434)
@@ -191,6 +191,9 @@
exit 1
fi
+ # Create the jail dir
+ if [ ! -d "${PJDIR}" ] ; then mkdir -p "${PJDIR}" ; fi
+
# Preparing to build the jail
echo "Starting build of portsjail, this may take a while..."
sleep 5
More information about the Commits
mailing list