[86175] contrib/mpab/gather_archives.sh

jmr at macports.org jmr at macports.org
Thu Oct 20 08:02:18 PDT 2011


Revision: 86175
          http://trac.macports.org/changeset/86175
Author:   jmr at macports.org
Date:     2011-10-20 08:02:18 -0700 (Thu, 20 Oct 2011)
Log Message:
-----------
mpab: log reasons for archives not being distributable

Modified Paths:
--------------
    contrib/mpab/gather_archives.sh

Modified: contrib/mpab/gather_archives.sh
===================================================================
--- contrib/mpab/gather_archives.sh	2011-10-20 14:54:04 UTC (rev 86174)
+++ contrib/mpab/gather_archives.sh	2011-10-20 15:02:18 UTC (rev 86175)
@@ -47,8 +47,7 @@
 
 for portname in $ports; do
     if ls logs-*/success/${portname}.log > /dev/null 2>&1 ; then
-        if ./mpexport/base/portmgr/jobs/port_binary_distributable.tcl ${portname}; then
-            echo $portname is distributable
+        if ./mpexport/base/portmgr/jobs/port_binary_distributable.tcl -v ${portname}; then
             portversion=$(${PREFIX}/bin/port info --index --version --line ${portname})
             portrevision=$(${PREFIX}/bin/port info --index --revision --line ${portname})
             for archive in ${PREFIX}/var/macports/software/${portname}/${portname}-${portversion}_${portrevision}[+.]*; do
@@ -57,8 +56,6 @@
                 mkdir -p ${ULPATH}/${portname}
                 cp $archive ${ULPATH}/${portname}/
             done
-        else
-            echo $portname is not distributable
         fi
     fi
 done
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111020/3d3c841c/attachment.html>


More information about the macports-changes mailing list