[PC-BSD Commits] r8086 - pcbsd/current/src-sh/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Tue Nov 30 06:02:20 PST 2010


Author: kris
Date: 2010-11-30 06:02:20 -0800 (Tue, 30 Nov 2010)
New Revision: 8086

Modified:
   pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:

Update pbi-manager, copy confdir and dbdir correctly



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 01:00:41 UTC (rev 8085)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-30 14:02:20 UTC (rev 8086)
@@ -4733,12 +4733,13 @@
 	chmod 755 ${PBI_CHROOTDIR}/usr/local/sbin/pbi_*
 
 	mkdir -p ${PBI_CHROOTDIR}/var/db
-	cp -r ${PBI_DBDIR} ${PBI_CHROOTDIR}{PBI_DBDIR}
+	cp -r ${PBI_DBDIR} ${PBI_CHROOTDIR}${PBI_DBDIR}
 	
 	# Copy over the confdir as well
 	if [ ! -z "${PBI_CONFDIR}" ] ; then
 		local _cDir=`dirname "${PBI_CONFDIR}"`
 		mkdir -p "${PBI_CHROOTDIR}${_cDir}"
+		echo "Copying ${PBI_CONFDIR} -> ${PBI_CHROOTDIR}${PBI_CONFDIR}"
 	 	cp -r "${PBI_CONFDIR}" "${PBI_CHROOTDIR}${PBI_CONFDIR}"
 	fi
 



More information about the Commits mailing list