[151259] contrib/mp-buildbot/mpbb-install-port
mojca at macports.org
mojca at macports.org
Wed Aug 10 21:52:30 PDT 2016
Revision: 151259
https://trac.macports.org/changeset/151259
Author: mojca at macports.org
Date: 2016-08-10 21:52:30 -0700 (Wed, 10 Aug 2016)
Log Message:
-----------
mp-buildbot/install-port: print port contents in a file
Modified Paths:
--------------
contrib/mp-buildbot/mpbb-install-port
Modified: contrib/mp-buildbot/mpbb-install-port
===================================================================
--- contrib/mp-buildbot/mpbb-install-port 2016-08-11 04:47:29 UTC (rev 151258)
+++ contrib/mp-buildbot/mpbb-install-port 2016-08-11 04:52:30 UTC (rev 151259)
@@ -10,13 +10,22 @@
}
install-port() {
+ local log_port_contents="${option_logdir}/port-contents.txt"
+
if [ -z "${option_port}" ]; then
errmsg "--port is required"
return 1
fi
+ # prepare the log file and make sure to start with an empty one
+ mkdir -p "${option_logdir}"
+ #log_port_contents="${option_logdir}/port-contents.txt"
+
+
if ! "${option_prefix}/bin/port" -d install "${option_port}"; then
echo "Build of '${option_port}' failed."
return 1
fi
+
+ "${option_prefix}/bin/port" contents "${option_port}" > "$log_port_contents"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160810/e6a58447/attachment.html>
More information about the macports-changes
mailing list