[152210] contrib/mp-buildbot/mpbb-gather-archives

larryv at macports.org larryv at macports.org
Wed Aug 31 18:30:16 PDT 2016


Revision: 152210
          https://trac.macports.org/changeset/152210
Author:   larryv at macports.org
Date:     2016-08-31 18:30:16 -0700 (Wed, 31 Aug 2016)
Log Message:
-----------
mpbb: Don't hardcode the system curl(1) (#52092)

Leopard's /usr/bin/curl can't handle our SSL certificate.

Modified Paths:
--------------
    contrib/mp-buildbot/mpbb-gather-archives

Modified: contrib/mp-buildbot/mpbb-gather-archives
===================================================================
--- contrib/mp-buildbot/mpbb-gather-archives	2016-08-31 22:33:23 UTC (rev 152209)
+++ contrib/mp-buildbot/mpbb-gather-archives	2016-09-01 01:30:16 UTC (rev 152210)
@@ -11,7 +11,6 @@
 }
 
 gather-archives() {
-    curl=/usr/bin/curl
     # $option_prefix is set in mpbb
     # shellcheck disable=SC2154
     tclsh=${option_prefix}/bin/port-tclsh
@@ -33,7 +32,7 @@
 
         # $option_archive_site is set in mpbb
         # shellcheck disable=SC2154
-        if ! ${curl} -fIsL "${option_archive_site}/${archive_port}/${archive_basename}" > /dev/null; then
+        if ! curl -fIsL "${option_archive_site}/${archive_port}/${archive_basename}" > /dev/null; then
             # $option_work_dir is set in mpbb
             # shellcheck disable=SC2154
             if "${tclsh}" "${option_work_dir}/tools/port_binary_distributable.tcl" -v "${archive_port}"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160831/d03930bc/attachment.html>


More information about the macports-changes mailing list