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

svn at pcbsd.org svn at pcbsd.org
Thu Oct 14 15:00:11 PDT 2010


Author: kris
Date: 2010-10-14 15:00:11 -0700 (Thu, 14 Oct 2010)
New Revision: 7832

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

Small fix, don't bomb out if external_link target doesn't exist, just warn



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-14 21:53:25 UTC (rev 7831)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-14 22:00:11 UTC (rev 7832)
@@ -1965,7 +1965,8 @@
 			if [ -z "$src" -o -z "$tar" ] ; then continue ; fi
 
 			if [ ! -e "${PBI_STAGEDIR}/$src" ] ; then
-				exit_err "external_link target: \"$src\" does not exist!"
+				echo "WARN: external_link target: \"$src\" does not exist!"
+				continue
 			fi
 
 			# Check for act directives



More information about the Commits mailing list