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

svn at pcbsd.org svn at pcbsd.org
Wed Jul 18 09:31:38 PDT 2012


Author: kris
Date: 2012-07-18 16:31:38 +0000 (Wed, 18 Jul 2012)
New Revision: 17810

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

Hide output from a few mkdir's



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-07-18 15:25:41 UTC (rev 17809)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-07-18 16:31:38 UTC (rev 17810)
@@ -6369,7 +6369,7 @@
 	cp /etc/resolv.conf ${PBI_CHROOTDIR}/etc/resolv.conf
 
 	# Copy our binary wrapper
-	mkdir ${PBI_CHROOTDIR}${PBI_APPDIR}
+	mkdir ${PBI_CHROOTDIR}${PBI_APPDIR} 2>/dev/null
 	cp ${PBI_WRAPPERFILE} ${PBI_CHROOTDIR}${PBI_WRAPPERFILE}
 
 	# If we have a custom PBI_MAKECONF include it
@@ -6378,7 +6378,7 @@
 	#echo "Copying ${PORTSDIR} -> ${PBI_CHROOTDIR}/usr/ports"
 	#tar cvf - -C "${PORTSDIR}" --exclude ./distfiles . 2>/dev/null | tar xvf - -C "${PBI_CHROOTDIR}/usr/ports" 2>/dev/null
 	[ -d "${PORTSDIR}/distfiles" ] || mkdir -p ${PORTSDIR}/distfiles
-	mkdir -p ${PBI_CHROOTDIR}/usr/ports
+	mkdir -p ${PBI_CHROOTDIR}/usr/ports 2>/dev/null
 	mount_nullfs ${PORTSDIR} ${PBI_CHROOTDIR}/usr/ports
 
 	# Using tmpfs?
@@ -6394,7 +6394,7 @@
 	fi
 	
 	# Now copy over the pbi_* scripts
-	mkdir ${PBI_CHROOTDIR}/usr/local/sbin
+	mkdir ${PBI_CHROOTDIR}/usr/local/sbin 2>/dev/null
 	cp ${PROGBASE}/sbin/pbi_* ${PBI_CHROOTDIR}/usr/local/sbin
 	cp ${PBI_CHROOTDIR}/usr/local/sbin/pbi_makeport ${PBI_CHROOTDIR}/usr/local/sbin/pbi_makeport_chroot
 	chmod 755 ${PBI_CHROOTDIR}/usr/local/sbin/pbi_*
@@ -6403,10 +6403,10 @@
 	cp ${PBI_DEFAULT_ICON} ${PBI_CHROOTDIR}${PBI_DEFAULT_ICON_CHROOT}
 
 	# Make sure the outgoing dir is created
-	mkdir -p ${PBI_CHROOTDIR}/pbiout
+	mkdir -p ${PBI_CHROOTDIR}/pbiout 2>/dev/null
 
 	# Copy over the PBI DB
-	mkdir -p ${PBI_CHROOTDIR}/var/db
+	mkdir -p ${PBI_CHROOTDIR}/var/db 2>/dev/null
 	cp -r ${PBI_DBDIR} ${PBI_CHROOTDIR}${PBI_DBDIR}
 	
 	# Copy over the confdir as well



More information about the Commits mailing list