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

svn at pcbsd.org svn at pcbsd.org
Mon Aug 6 08:01:44 PDT 2012


Author: kris
Date: 2012-08-06 15:01:44 +0000 (Mon, 06 Aug 2012)
New Revision: 18206

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

Fix mostly a cosmetic issue, don't show PBIs as failed, when they did build
properly



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-06 15:00:31 UTC (rev 18205)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2012-08-06 15:01:44 UTC (rev 18206)
@@ -6138,10 +6138,12 @@
 	fi
 
 	# Make sure this PBI hasn't already failed during this run
-	if [ -e "${PBI_AB_OUTDIR}/${_cd}/.abkey" ] ; then
+	if [ -e "${PBI_AB_OUTDIR}/${_cd}/.abkey" -a -e "${PBI_AB_OUTDIR}/${_cd}/pbi-result" ] ; then
 	  if [ "`cat ${PBI_AB_OUTDIR}/${_cd}/.abkey`" = "$_abkey" ] ; then
-            echo "$_port - Skipping failed from this run"
-	    return 1
+	    if [ "`cat ${PBI_AB_OUTDIR}/${_cd}/pbi-result`" != "OK" ] ; then
+              echo "$_port - Skipping failed from this run"
+	      return 1
+  	    fi
   	  fi
 	fi
 



More information about the Commits mailing list