[119938] trunk/base/src/package1.0/portarchivefetch.tcl

jmr at macports.org jmr at macports.org
Sun May 11 04:29:43 PDT 2014


Revision: 119938
          https://trac.macports.org/changeset/119938
Author:   jmr at macports.org
Date:     2014-05-11 04:29:43 -0700 (Sun, 11 May 2014)
Log Message:
-----------
error out if no usable archive_sites are available and ports_binary_only is set

Modified Paths:
--------------
    trunk/base/src/package1.0/portarchivefetch.tcl

Modified: trunk/base/src/package1.0/portarchivefetch.tcl
===================================================================
--- trunk/base/src/package1.0/portarchivefetch.tcl	2014-05-11 11:08:06 UTC (rev 119937)
+++ trunk/base/src/package1.0/portarchivefetch.tcl	2014-05-11 11:29:43 UTC (rev 119938)
@@ -320,6 +320,8 @@
     }
     if {[info exists all_archive_files] && [llength $all_archive_files] > 0} {
         ui_msg "$UI_PREFIX [format [msgcat::mc "Fetching archive for %s"] $subport]"
+    } elseif {[tbool ports_binary_only]} {
+        error "Binary-only mode requested with no usable archive sites configured"
     }
     portfetch::check_dns
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140511/a7a402b7/attachment-0001.html>


More information about the macports-changes mailing list