Date: Wed, 21 Nov 2012 02:33:49 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r243362 - projects/portbuild/scripts Message-ID: <201211210233.qAL2Xnxg049493@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon (doc,ports committer) Date: Wed Nov 21 02:33:49 2012 New Revision: 243362 URL: http://svnweb.freebsd.org/changeset/base/243362 Log: Attempt to put a real link in packagestats' "updated" column. Modified: projects/portbuild/scripts/dopackages Modified: projects/portbuild/scripts/dopackages ============================================================================== --- projects/portbuild/scripts/dopackages Wed Nov 21 02:00:55 2012 (r243361) +++ projects/portbuild/scripts/dopackages Wed Nov 21 02:33:49 2012 (r243362) @@ -481,7 +481,7 @@ if [ "$skipstart" = 0 ]; then echo "================================================" cd ${PORTSDIR} updated=$(date '+%Y/%m/%d %H:%M') - echo ${updated} > ${builddir}/.updated + echo ${updated} > ${builddir}/ports/.updated # XXX MCL 20121117 this is not right! ${VCS} ${VCS_UPDATE_DATE} "${updated}" # XXX Check for conflicts @@ -492,7 +492,7 @@ if [ "$skipstart" = 0 ]; then fi else # XXX MCL why??? - # XXX rm -f ${builddir}/.updated + # XXX rm -f ${builddir}/ports/.updated fi if [ "$incremental" = 1 ]; then @@ -610,11 +610,11 @@ if [ "$skipstart" = 0 ]; then ln -sf ${newlogs} ${builddir}/logs echo "error logs in ${newerrors}" - if [ -f "${builddir}/.updated" ]; then - cp -p ${builddir}/.updated ${newerrors}/.updated - cp -p ${builddir}/.updated ${newlogs}/.updated + if [ -f "${builddir}/ports/.updated" ]; then + cp -p ${builddir}/ports/.updated ${newerrors}/.updated + cp -p ${builddir}/ports/.updated ${newlogs}/.updated else - rm -f ${newerrors}/.updated ${newlogs}/.updated + rm -f ${newerrors}/ports/.updated ${newlogs}/.updated fi cp -p ${builddir}/duds ${newerrors}/duds cp -p ${builddir}/duds ${newlogs}/duds
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211210233.qAL2Xnxg049493>