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

svn at pcbsd.org svn at pcbsd.org
Fri Nov 5 16:32:33 PDT 2010


Author: kris
Date: 2010-11-05 16:32:32 -0700 (Fri, 05 Nov 2010)
New Revision: 7985

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

Updated pbi-manager to display when a port doesn't exist when doing autobuilds



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-05 21:14:14 UTC (rev 7984)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-11-05 23:32:32 UTC (rev 7985)
@@ -3401,7 +3401,10 @@
 		if [ -z "${PBI_MAKEPORT}" ] ; then
 			PBI_MAKEPORT=$(dirname $pbi | sed 's|./||')
 		fi	
-		if [ ! -d "${PORTSDIR}/${PBI_MAKEPORT}" ] ; then continue ; fi
+		if [ ! -d "${PORTSDIR}/${PBI_MAKEPORT}" ] ; then 
+			echo "Skipping invalid port ${PORTSDIR}/${PBI_MAKEPORT}"
+			continue
+		fi
 
 		check_ab_needed "$PBI_MAKEPORT" "${PBI_BUILDKEY}" "$_cd"
 	 	if [ "$?" = "0" ] ; then	



More information about the Commits mailing list