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

svn at pcbsd.org svn at pcbsd.org
Wed Dec 1 15:52:02 PST 2010


Author: kris
Date: 2010-12-01 15:52:02 -0800 (Wed, 01 Dec 2010)
New Revision: 8127

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

Fix error in location of distfiles



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-01 20:38:39 UTC (rev 8126)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-01 23:52:02 UTC (rev 8127)
@@ -4744,10 +4744,10 @@
 	mkdir -p ${PBI_CHROOTDIR}/usr/ports
 	tar cvf - -C "${PORTSDIR}" --exclude ./distfiles . 2>/dev/null | tar xvf - -C "${PBI_CHROOTDIR}/usr/ports" 2>/dev/null
 	mkdir -p ${PBI_CHROOTDIR}/usr/ports/distfiles
-	if [ ! -d "${PORTSDIR}/usr/ports/distfiles" ] ; then
-		mkdir -p ${PORTSDIR}/usr/ports/distfiles
+	if [ ! -d "${PORTSDIR}/distfiles" ] ; then
+		mkdir -p ${PORTSDIR}/distfiles
 	fi
-	mount_nullfs ${PORTSDIR}/usr/ports/distfiles ${PBI_CHROOTDIR}/usr/ports/distfiles
+	mount_nullfs ${PORTSDIR}/distfiles ${PBI_CHROOTDIR}/usr/ports/distfiles
 
 	# Now copy over the pbi_* scripts
 	mkdir ${PBI_CHROOTDIR}/usr/local/sbin



More information about the Commits mailing list