[PC-BSD Commits] r18058 - pcbsd/current/src-sh/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 1 09:24:38 PDT 2012
Author: kris
Date: 2012-08-01 16:24:38 +0000 (Wed, 01 Aug 2012)
New Revision: 18058
Modified:
pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:
Fix how we set old version, and add debug line
Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager 2012-08-01 16:14:37 UTC (rev 18057)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager 2012-08-01 16:24:38 UTC (rev 18058)
@@ -6168,7 +6168,8 @@
# See if the version is different now
oldVersion=`cat ${PBI_AB_OUTDIR}/${_cd}/pbi-version`
if [ "$oldVersion" != "$PBI_PROGVERSION" ]; then
- local oldPortVer=`echo $oldVersion | rev | cut -d '_' -f 2- | rev`
+ oldPortVer="`echo $oldVersion | rev | cut -d '_' -f 2- | rev`"
+ #echo "OldVersion: $oldPortVer - NewVersion: $PORTVER -"
if [ "$PORTVER" = "$oldPortVer" ] ; then
# Just a minor portrev bump
internal_ab_priority="2"
More information about the Commits
mailing list