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

svn at pcbsd.org svn at pcbsd.org
Tue Oct 26 10:15:52 PDT 2010


Author: kris
Date: 2010-10-26 10:15:52 -0700 (Tue, 26 Oct 2010)
New Revision: 7914

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

Added some useful details to pbi_autobuild log file header



Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-26 17:10:55 UTC (rev 7913)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager	2010-10-26 17:15:52 UTC (rev 7914)
@@ -3428,7 +3428,13 @@
 		rm "${_od}/build.log.bz2"
 	fi
 
-	# Star the build now
+	# Add some header info to log file
+	echo "Starting build: `date`" >${_od}/build.log
+	echo "Build Command:" >>${_od}/build.log
+	echo "pbi_makeport ${_flags} ${_mp}" >>${_od}/build.log
+	echo "------------------------------------------------------" >>${_od}/build.log
+
+	# Start the build now
 	pbi_makeport ${_flags} ${_mp} >>${_od}/build.log 2>>${_od}/build.log
 	if [ "$?" = "0" ] ; then
 



More information about the Commits mailing list