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

svn at pcbsd.org svn at pcbsd.org
Thu Dec 9 11:27:36 PST 2010


Author: kris
Date: 2010-12-09 11:27:36 -0800 (Thu, 09 Dec 2010)
New Revision: 8183

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

Fixed bug when parsing PBIs to merge into hashdir



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-09 14:25:39 UTC (rev 8182)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-12-09 19:27:36 UTC (rev 8183)
@@ -3450,7 +3450,7 @@
 		fi
 
 		# Check if we need to merge files into the hashdir
-		if [ ! -z `ls ${PBI_DBHASHQUEUEDIR}` ] ; then
+		if [ ! -z "`ls ${PBI_DBHASHQUEUEDIR}`" ] ; then
 			init_tmpdir
 			for _hpbi in `ls ${PBI_DBHASHQUEUEDIR}`
 			do



More information about the Commits mailing list