[150791] contrib/mp-buildbot/mpbb-checkout

ryandesign at macports.org ryandesign at macports.org
Thu Jul 28 21:33:44 PDT 2016


Revision: 150791
          https://trac.macports.org/changeset/150791
Author:   ryandesign at macports.org
Date:     2016-07-28 21:33:44 -0700 (Thu, 28 Jul 2016)
Log Message:
-----------
mp-buildbot: write local sources.conf

and macports.conf to avoid overwriting the global sources.conf

Modified Paths:
--------------
    contrib/mp-buildbot/mpbb-checkout

Modified: contrib/mp-buildbot/mpbb-checkout
===================================================================
--- contrib/mp-buildbot/mpbb-checkout	2016-07-28 18:06:24 UTC (rev 150790)
+++ contrib/mp-buildbot/mpbb-checkout	2016-07-29 04:33:44 UTC (rev 150791)
@@ -55,10 +55,15 @@
 
     (cd "${dports_svn}" && "${option_prefix}/bin/portindex") || return $?
 
-    cat || return $? > "${option_prefix}/etc/macports/sources.conf" <<EOF
+    cat || return $? > "${option_workdir}/macports.conf" <<EOF
 # Automatically overwritten by mpbb-checkout
 # Do not edit !!!
-#
+sources_conf ${option_workdir}/sources.conf
+EOF
+
+    cat || return $? > "${option_workdir}/sources.conf" <<EOF
+# Automatically overwritten by mpbb-checkout
+# Do not edit !!!
 file://${dports_svn} [default]
 EOF
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160728/e3d6a637/attachment.html>


More information about the macports-changes mailing list