[PC-BSD Commits] r7654 - pcbsd/current/src-qt4/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Wed Sep 29 08:32:25 PDT 2010


Author: kris
Date: 2010-09-29 08:32:25 -0700 (Wed, 29 Sep 2010)
New Revision: 7654

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

Added ability to set PBI_PROGREVISION in pbi9 modules, in case we need
to trigger rebuilds / updates when the underlying port version
hasn't changed



Modified: pcbsd/current/src-qt4/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-29 14:37:46 UTC (rev 7653)
+++ pcbsd/current/src-qt4/pbi-manager/pbi-manager	2010-09-29 15:32:25 UTC (rev 7654)
@@ -781,10 +781,12 @@
 	PBI_PORTSDIR=""
 	PBI_PROGAUTHOR=""
 	PBI_PROGMDATE=""
+	PBI_PROGEPOCH=""
 	PBI_PROGNAME=""
 	PBI_PROGDIRNAME=""
 	PBI_PROGDIRPATH=""
 	PBI_PROGICON=""
+	PBI_PROGREVISION=""
 	PBI_PROGVERSION=""
 	PBI_PROGWEB=""
 	PBI_PRUNEBUILDPORTS="YES"
@@ -858,6 +860,11 @@
 	else
 		exit_err "Failed to locate PBI_PROGVERSION"
 	fi
+
+	# If we have a REVISION, use it as well
+	if [ ! -z "$PBI_PROGREVISION" ] ; then
+		PBI_PROGVERSION="${PBI_PROGVERSION}_${PBI_PROGREVISION}"
+	fi
 }
 
 



More information about the Commits mailing list