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

svn at pcbsd.org svn at pcbsd.org
Thu Dec 9 06:25:39 PST 2010


Author: kris
Date: 2010-12-09 06:25:39 -0800 (Thu, 09 Dec 2010)
New Revision: 8182

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

Fixed a bug auto-generating pbp patch files



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-08 21:12:23 UTC (rev 8181)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-09 14:25:39 UTC (rev 8182)
@@ -4263,11 +4263,11 @@
 	rm ${_curPBIdir}/*.pbp 2>/dev/null
 
 	# Build a list of old PBIs we need to make patches from
-	_oPBIs=`ls ${oldPBIdir}/*.pbi 2>/dev/null`
-	for _oPBI in $_oPBIs
+	for _oPBI in `ls ${_oldPBIdir}/*.pbi 2>/dev/null`
 	do
 		# Make sure we don't try to make a patch of identical files
 	  	if [ "`basename $oPBI`" != "`basename $_curPBI`" ] ; then	
+			echo "Building pbp patch of ${_oPBI} -> ${_curPBI}"
 			make_pbi_patchfile "$_curPBI" "$_oPBI" "$_curPBIdir"
 		fi
 	done



More information about the Commits mailing list