[PC-BSD Commits] r7607 - pcbsd/current/src-qt4/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Mon Sep 20 13:14:26 PDT 2010


Author: kris
Date: 2010-09-20 13:14:26 -0700 (Mon, 20 Sep 2010)
New Revision: 7607

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

Dont auto-prune sub-folders in outgoing dirs



Modified: pcbsd/current/src-qt4/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-20 20:01:38 UTC (rev 7606)
+++ pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-20 20:14:26 UTC (rev 7607)
@@ -3266,11 +3266,12 @@
 	for i in `find . -type d | grep -v '\.svn'`
 	do
 		if [ "${i}" = "." -o "${i}" = ".." ] ; then continue ; fi
+		_pDir=`dirname ${i}`
 		if [ -d "${i}" -a ! -z "${i}" ] ; then
-    			if [ ! -e "${PBI_AB_CONFDIR}/${i}" ] ; then
+    			if [ ! -e "${PBI_AB_CONFDIR}/${_pDir}" ] ; then
       			# Not in our module tree anymore, remove it
-      			echo "Auto-Prune: ${PBI_AB_OUTDIR}/${i}"
-      			rm -rf "${PBI_AB_OUTDIR}/${i}"
+      			echo "Auto-Prune: ${PBI_AB_OUTDIR}/${_pDir}"
+      			rm -rf "${PBI_AB_OUTDIR}/${_pDir}"
     			fi
   		fi
 	done



More information about the Commits mailing list