[151261] contrib/buildbot-test/master.cfg

mojca at macports.org mojca at macports.org
Wed Aug 10 22:44:15 PDT 2016


Revision: 151261
          https://trac.macports.org/changeset/151261
Author:   mojca at macports.org
Date:     2016-08-10 22:44:14 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
buildbot-test/master.cfg: paths should be set up after reading the config

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-08-11 04:53:42 UTC (rev 151260)
+++ contrib/buildbot-test/master.cfg	2016-08-11 05:44:14 UTC (rev 151261)
@@ -31,9 +31,6 @@
 slaveprefix  = "/opt/local"
 toolsprefix  = "/opt/mports"
 
-path_base  = "/usr/bin:/bin:/usr/sbin:/sbin"
-path_ports = os.path.join(toolsprefix, "bin") + ":" + path_base
-
 if os.path.exists(_path('config.json')):
     with open(_path('config.json')) as f:
         configdata = json.load(f)
@@ -42,6 +39,9 @@
         if configdata[key]:
             locals[key] = configdata[key]
 
+path_base  = "/usr/bin:/bin:/usr/sbin:/sbin"
+path_ports = os.path.join(toolsprefix, "bin") + ":" + path_base
+
 # TODO: the following list should be configured in slaves.json
 build_platforms = ["10.6_x86_64", "10.6_x86_64_legacy", "10.6_i386", "10.6_i386_legacy", "10.7_x86_64", "10.7_x86_64_legacy", "10.8_x86_64", "10.8_x86_64_legacy", "10.9_x86_64", "10.10_x86_64", "10.11_x86_64"]
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/cf8a11c9/attachment-0001.html>


More information about the macports-changes mailing list