[81186] contrib/buildbot/master.cfg
jmr at macports.org
jmr at macports.org
Tue Jul 26 18:00:22 PDT 2011
Revision: 81186
http://trac.macports.org/changeset/81186
Author: jmr at macports.org
Date: 2011-07-26 18:00:21 -0700 (Tue, 26 Jul 2011)
Log Message:
-----------
buildmaster: avoid possibility of hitting ARG_MAX when writing portlist file
Modified Paths:
--------------
contrib/buildbot/master.cfg
Modified: contrib/buildbot/master.cfg
===================================================================
--- contrib/buildbot/master.cfg 2011-07-27 00:37:55 UTC (rev 81185)
+++ contrib/buildbot/master.cfg 2011-07-27 01:00:21 UTC (rev 81186)
@@ -177,7 +177,7 @@
env={'PREFIX': WithProperties(prefix),
'SRC_PREFIX': WithProperties(src_prefix),
'BASE_UPDATE': 'selfupdate'}))
-ports_factory.addStep(ShellCommandWithPortList(command=WithProperties('echo %(portlist)s | tr " " "\n" > portlist')))
+ports_factory.addStep(ShellCommandWithPortList(command=WithProperties('for portname in %(portlist)s; do echo $portname >> portlist; done')))
# run MPAB on the port list
ports_factory.addStep(Compile(command=["./mpab", "buildports", "portlist"],
env={'PREFIX': WithProperties(prefix),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110726/bb483729/attachment.html>
More information about the macports-changes
mailing list