[81228] contrib/mpab/chroot-scripts/buildports

jmr at macports.org jmr at macports.org
Wed Jul 27 14:17:52 PDT 2011


Revision: 81228
          http://trac.macports.org/changeset/81228
Author:   jmr at macports.org
Date:     2011-07-27 14:17:50 -0700 (Wed, 27 Jul 2011)
Log Message:
-----------
mpab: build all ports if portlist is 'all'

Modified Paths:
--------------
    contrib/mpab/chroot-scripts/buildports

Modified: contrib/mpab/chroot-scripts/buildports
===================================================================
--- contrib/mpab/chroot-scripts/buildports	2011-07-27 20:38:21 UTC (rev 81227)
+++ contrib/mpab/chroot-scripts/buildports	2011-07-27 21:17:50 UTC (rev 81228)
@@ -69,6 +69,9 @@
 if [[ -f /var/tmp/portlist ]]; then
    portList=`/bin/cat /var/tmp/portlist`
    /bin/rm /var/tmp/portlist
+   if [[ `echo -n $portList` == "all" ]]; then
+      portList=`/usr/bin/tclsh /var/tmp/genportlist.tcl`
+   fi
 else
    portList=`/usr/bin/tclsh /var/tmp/genportlist.tcl`
 fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110727/49605003/attachment-0001.html>


More information about the macports-changes mailing list