[PC-BSD Commits] r18056 - pcbsd/current/src-sh/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 1 09:07:49 PDT 2012
Author: kris
Date: 2012-08-01 16:07:49 +0000 (Wed, 01 Aug 2012)
New Revision: 18056
Modified:
pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:
Opps, mistyped, meant expr not eval
Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager 2012-08-01 16:06:37 UTC (rev 18055)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager 2012-08-01 16:07:49 UTC (rev 18056)
@@ -5514,7 +5514,8 @@
if [ -z "$PBI_AB_PRIORITY" ] ; then
CUR_PRIORITY_PBI="$internal_ab_priority"
else
- CUR_PRIORITY_PBI=`eval $PBI_AB_PRIORITY + 10`
+ if [ "${PBI_AB_PRIORITY}" = "00" ] ; then PBI_AB_PRIORITY="0"; fi
+ CUR_PRIORITY_PBI=`expr $PBI_AB_PRIORITY + 10`
fi
continue
fi
@@ -5524,7 +5525,7 @@
# Bump up the supplied AB priority
if [ -n "${PBI_AB_PRIORITY}" ] ; then
- internal_ab_priority=`eval $PBI_AB_PRIORITY + 10`
+ internal_ab_priority=`expr $PBI_AB_PRIORITY + 10`
fi
# Check if this PBI is a higher priority
More information about the Commits
mailing list