[PC-BSD Commits] r12972 - pcbsd/current/src-sh/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Fri Sep 23 10:57:44 PDT 2011
Author: kris
Date: 2011-09-23 10:57:43 -0700 (Fri, 23 Sep 2011)
New Revision: 12972
Modified:
pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:
Opps, fix continue to run in right loop
Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager 2011-09-23 16:27:52 UTC (rev 12971)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager 2011-09-23 17:57:43 UTC (rev 12972)
@@ -3245,13 +3245,17 @@
if [ "$?" = "0" ]; then continue ; fi
# Check if this hash file is excluded
+ _hfound="0"
if [ ! -z "${PBI_HASH_EXCLUDES}" ] ; then
for _hexcl in ${PBI_HASH_EXCLUDES}
do
if [ "$_hexcl" = "$line" ] ; then
- continue
+ _hfound="1"
fi
done
+ if [ "$_hfound" = "1" ] ; then
+ continue
+ fi
fi
# Get the file size
More information about the Commits
mailing list