<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository mpbb.
</pre>
<p><a href="https://github.com/macports/mpbb/commit/e70d3c9fc626744045c202397fa3ad77b8b1c040">https://github.com/macports/mpbb/commit/e70d3c9fc626744045c202397fa3ad77b8b1c040</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e70d3c9 Add --binpath option to mpbb-checkout
</span>e70d3c9 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e70d3c9fc626744045c202397fa3ad77b8b1c040
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 7 09:02:56 2019 -0600
<span style='display:block; white-space:pre;color:#404040;'> Add --binpath option to mpbb-checkout
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/57396
</span>---
mpbb-checkout | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/mpbb-checkout b/mpbb-checkout
</span><span style='display:block; white-space:pre;color:#808080;'>index cae5e54..0c7279c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/mpbb-checkout
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/mpbb-checkout
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,6 +20,11 @@ Options:
</span> Space-separated list of additional URLs to check for preexisting
archives. Defaults to \`https://packages-private.macports.org'.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --binpath=<paths>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Colon-separated list of paths where MacPorts will look for
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ programs. Defaults to
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \`<prefix>/bin:<prefix>/sbin:/bin:/sbin:/usr/bin:/usr/sbin'.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> --git[=<path>]
Use Git to obtain the jobs tools and ports tree; this is the default
behavior. The path to a Git client may be provided explicitly,
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -136,7 +141,7 @@ svn-checkout() {
</span>
checkout() {
local args
<span style='display:block; white-space:pre;background:#ffe0e0;'>- parseopt archive-sites:,git::,jobs-url:,ports-branch:,ports-commit:,ports-url:,svn::,svn-url: "$@" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ parseopt archive-sites:,binpath:,git::,jobs-url:,ports-branch:,ports-commit:,ports-url:,svn::,svn-url: "$@" \
</span> || return
# shellcheck disable=SC2086
set -- ${args+"${args[@]}"}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,6 +163,11 @@ checkout() {
</span> # shellcheck disable=SC2086
archive_site_local=$(printf '%s/:tbz2 ' ${option_archive_sites})
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $option_binpath is set by parseopt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $option_prefix is set in mpbb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # shellcheck disable=SC2154
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : "${option_binpath=${option_prefix}/bin:${option_prefix}/sbin:/bin:/sbin:/usr/bin:/usr/sbin}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> local checkout git jobs_dir svn
# shellcheck disable=SC2100 disable=SC2154
if [[ -z ${option_svn+_} ]] && git=${option_git:-$(command -v git)}; then
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -203,6 +213,7 @@ checkout() {
</span> sources_conf ${option_work_dir}/sources.conf
host_blacklist *.distfiles.macports.org *.packages.macports.org
archive_site_local ${archive_site_local}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+binpath ${option_binpath}
</span> EOF
if uname -r | grep -q '^9\.'; then
</pre><pre style='margin:0'>
</pre>