[79902] contrib/mpab

jmr at macports.org jmr at macports.org
Tue Jun 28 23:34:34 PDT 2011


Revision: 79902
          http://trac.macports.org/changeset/79902
Author:   jmr at macports.org
Date:     2011-06-28 23:34:33 -0700 (Tue, 28 Jun 2011)
Log Message:
-----------
mpab: fix path in status script, and print message when archive is not distributable

Modified Paths:
--------------
    contrib/mpab/deploy_archives.sh
    contrib/mpab/do_status.sh

Modified: contrib/mpab/deploy_archives.sh
===================================================================
--- contrib/mpab/deploy_archives.sh	2011-06-29 06:22:17 UTC (rev 79901)
+++ contrib/mpab/deploy_archives.sh	2011-06-29 06:34:33 UTC (rev 79902)
@@ -35,6 +35,8 @@
                 #rsync -av --ignore-existing ./${aname}.rmd160 ${archive} ${DLHOST}:${DLPATH}/${portname}
                 rm -f ./${aname}.rmd160
             done
+        else
+            echo $portname is not distributable
         fi
     fi
 done

Modified: contrib/mpab/do_status.sh
===================================================================
--- contrib/mpab/do_status.sh	2011-06-29 06:22:17 UTC (rev 79901)
+++ contrib/mpab/do_status.sh	2011-06-29 06:34:33 UTC (rev 79902)
@@ -16,7 +16,7 @@
 for portname in `cat $PORTLISTFILE`; do
     if ls logs-*/success/${portname}.log > /dev/null 2>&1 ; then
         echo "[OK] ${portname}" >> $STATUS_LOG
-    elif ls logs-*/failure/${portname}.log > /dev/null 2>&1 ; then
+    elif ls logs-*/fail/${portname}.log > /dev/null 2>&1 ; then
         echo "[FAIL] ${portname}" >> $STATUS_LOG
         let "failed = failed + 1"
         # send email to appropriate places
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110628/f7eb8a53/attachment.html>


More information about the macports-changes mailing list