[PC-BSD Commits] r7471 - pcbsd-projects/pbi-manager

svn at pcbsd.org svn at pcbsd.org
Tue Aug 31 10:24:08 PDT 2010


Author: kris
Date: 2010-08-31 10:24:08 -0700 (Tue, 31 Aug 2010)
New Revision: 7471

Modified:
   pcbsd-projects/pbi-manager/pbi-manager
Log:

When doing pbi autobuilds, also copy the pkg_descr to the outgoing dir we can use
for online updating descriptions



Modified: pcbsd-projects/pbi-manager/pbi-manager
===================================================================
--- pcbsd-projects/pbi-manager/pbi-manager	2010-08-31 13:34:55 UTC (rev 7470)
+++ pcbsd-projects/pbi-manager/pbi-manager	2010-08-31 17:24:08 UTC (rev 7471)
@@ -2592,6 +2592,14 @@
 			${PBI_AB_HELPS} "OK" "${_od}"
 		fi
 
+		# Copy over a description file
+		if [ -e "${PORTSDIR}/${_mp}/pkg-descr" ] ; then
+			cp "${PORTSDIR}/${_mp}/pkg-descr" "${_od}/pbi-descr"
+		fi
+		if [ -e "${_cd}/pbi-descr" ] ; then
+			cp "${_cd}/pbi-descr" "${_od}/pbi-descr"
+		fi
+
 		rm "${_od}/build.log.bz2" >/dev/null 2>/dev/null
 		bzip2 "${_od}/build.log"
 	else



More information about the Commits mailing list