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

svn at pcbsd.org svn at pcbsd.org
Thu Mar 3 09:03:43 PST 2011


Author: kris
Date: 2011-03-03 09:03:43 -0800 (Thu, 03 Mar 2011)
New Revision: 9468

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

Also run noschg when cleaning up build files



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-03 16:52:31 UTC (rev 9467)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2011-03-03 17:03:43 UTC (rev 9468)
@@ -1366,7 +1366,9 @@
 	if [ -z "${PBI_PROGDIRPATH}" ] ; then return ; fi
 	if [ "`basename $0`" = "pbi_makeport_chroot" -a -d "${PBI_PROGDIRPATH}" ] ; then 
 		echo "Cleaning ${PBI_PROGDIRPATH}"
-		rm -rf "${PBI_PROGDIRPATH}" 
+		rm -rf "${PBI_PROGDIRPATH}" >/dev/null 2>/dev/null
+		chflags -R noschg "${PBI_PROGDIRPATH}" >/dev/null 2>/dev/null
+		rm -rf "${PBI_PROGDIRPATH}" >/dev/null 2>/dev/null
 	fi
 	if [ -z "$PBI_CHROOTDIR" ] ; then return ; fi
 	chroot_make_cleanup



More information about the Commits mailing list