Module Name: src Committed By: apb Date: Sun Aug 3 09:22:29 UTC 2014
Modified Files: src: build.sh Log Message: BUILDINFO part 4: build.sh Add BUILDINFO to the list of variables saved in the makewrapper script, and print any non-blank BUILDINFO lines near the beginning of the output from build.sh. Index: build.sh =================================================================== RCS file: /cvsroot/src/build.sh,v retrieving revision 1.286 diff -d -p -u -r1.286 build.sh --- build.sh 3 Aug 2014 01:03:41 -0000 1.286 +++ build.sh 3 Aug 2014 09:20:46 -0000 @@ -1299,6 +1299,7 @@ parseoptions() # makeenv="${makeenv} TOOLDIR MACHINE MACHINE_ARCH MAKEFLAGS" [ -z "${BUILDID}" ] || makeenv="${makeenv} BUILDID" + [ -z "${BUILDINFO}" ] || makeenv="${makeenv} BUILDINFO" MAKEFLAGS="-de -m ${TOP}/share/mk ${MAKEFLAGS}" MAKEFLAGS="${MAKEFLAGS} MKOBJDIRS=${MKOBJDIRS-yes}" export MAKEFLAGS MACHINE MACHINE_ARCH @@ -2078,6 +2079,13 @@ main() if [ -n "${BUILDID}" ]; then statusmsg2 "BUILDID:" "${BUILDID}" fi + if [ -n "${BUILDINFO}" ]; then + printf "%b\n" "${BUILDINFO}" | \ + while read -r line ; do + [ -s "${line}" ] && continue + statusmsg2 "BUILDINFO:" "${line}" + done + fi rebuildmake validatemakeparams To generate a diff of this commit: cvs rdiff -u -r1.286 -r1.287 src/build.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.