svn commit: r245780 - projects/portbuild/scripts

Mark Linimon linimon at FreeBSD.org
Tue Jan 22 08:07:15 UTC 2013


Author: linimon (doc,ports committer)
Date: Tue Jan 22 08:07:15 2013
New Revision: 245780
URL: http://svnweb.freebsd.org/changeset/base/245780

Log:
  Restore the ability to list -exp runs.

Modified:
  projects/portbuild/scripts/dopackagestats

Modified: projects/portbuild/scripts/dopackagestats
==============================================================================
--- projects/portbuild/scripts/dopackagestats	Tue Jan 22 07:40:38 2013	(r245779)
+++ projects/portbuild/scripts/dopackagestats	Tue Jan 22 08:07:15 2013	(r245780)
@@ -365,7 +365,8 @@ for arch in ${SUPPORTED_ARCHS}; do
     sort -n`
   if [ ! -z "$branches" ]; then
     for branch in $branches; do
-      builds=`ls -d $branch* | \
+      builds=`cd ${pbd}/${arch} 2> /dev/null && \
+        ls -d $branch* 2> /dev/null | \
         grep -v "${SRC_BRANCHES_PATTERN}$" | \
         sort`
       if [ ! -z "$builds" ]; then


More information about the svn-src-projects mailing list