[104771] trunk/dports/databases/oracle-instantclient/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Apr 2 05:27:13 PDT 2013


Revision: 104771
          https://trac.macports.org/changeset/104771
Author:   ryandesign at macports.org
Date:     2013-04-02 05:27:13 -0700 (Tue, 02 Apr 2013)
Log Message:
-----------
oracle-instantclient: don't access $my_distname_format(${my_arch}) unless we're sure it exists, in an attempt to fix portindex failure on our server in #38627

Modified Paths:
--------------
    trunk/dports/databases/oracle-instantclient/Portfile

Modified: trunk/dports/databases/oracle-instantclient/Portfile
===================================================================
--- trunk/dports/databases/oracle-instantclient/Portfile	2013-04-02 12:21:34 UTC (rev 104770)
+++ trunk/dports/databases/oracle-instantclient/Portfile	2013-04-02 12:27:13 UTC (rev 104771)
@@ -90,8 +90,10 @@
 
 distfiles
 foreach my_arch ${configure.universal_archs} {
-    foreach my_distfile_type {basic sdk} {
-        distfiles-append [suffix [format $my_distname_format(${my_arch}) ${my_distfile_type}]]
+    if {[info exists my_distname_format(${my_arch})]} {
+        foreach my_distfile_type {basic sdk} {
+            distfiles-append [suffix [format $my_distname_format(${my_arch}) ${my_distfile_type}]]
+        }
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130402/daae8f6a/attachment.html>


More information about the macports-changes mailing list