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

svn at pcbsd.org svn at pcbsd.org
Wed Aug 1 10:08:32 PDT 2012


Author: kris
Date: 2012-08-01 17:08:32 +0000 (Wed, 01 Aug 2012)
New Revision: 18065

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

Put some extra comments / logging data into auto-build



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 17:05:22 UTC (rev 18064)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-01 17:08:32 UTC (rev 18065)
@@ -6139,6 +6139,7 @@
 	# Make sure this PBI hasn't already failed during this run
 	if [ -e "${PBI_AB_OUTDIR}/${_cd}/.abkey" ] ; then
 	  if [ "`cat ${PBI_AB_OUTDIR}/${_cd}/.abkey`" = "$_abkey" ] ; then
+            echo "Skipping port failed during this run: $_port"
 	    return 1
   	  fi
 	fi
@@ -6150,6 +6151,7 @@
 		_fcsum="`cat ${PBI_AB_OUTDIR}/${_cd}/.failed-csum`"
 		_ncsum="`tar cvf - -C "${PORTSDIR}/${_port}" . 2>/dev/null | md5 -q`"
 		if [ "$_fcsum" != "$_ncsum" ] ; then
+            		echo "Skipping failed: $_port"
 			return 1
 		fi
  	fi	
@@ -6157,7 +6159,7 @@
 	# See if we have an existing PBI
 	ls ${PBI_AB_OUTDIR}/${_cd}/*.pbi >/dev/null 2>/dev/null
 	if [ "${?}" != "0" ]; then 
-	  #echo "No existing PBI"
+	  echo "$_port - No existing PBI"
           internal_ab_priority="8"
           return 0 
         fi
@@ -6165,6 +6167,7 @@
 	# See if we have a saved version
 	if [ ! -e "${PBI_AB_OUTDIR}/${_cd}/pbi-version" ]; then 
 		#echo "No saved pbi-version"
+	  	echo "$_port - No existing version"
           	internal_ab_priority="7"
 		return 0
 	fi
@@ -6188,6 +6191,7 @@
 		return 0
 	fi
 
+	echo "$_port - is Up2Date!"
 	return 1
 }
 



More information about the Commits mailing list