[138678] trunk/dports/mail/imap-uw/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jul 15 18:08:58 PDT 2015


Revision: 138678
          https://trac.macports.org/changeset/138678
Author:   ryandesign at macports.org
Date:     2015-07-15 18:08:58 -0700 (Wed, 15 Jul 2015)
Log Message:
-----------
imap-uw: avoid an unnecessary foreach in the destroot phase

Modified Paths:
--------------
    trunk/dports/mail/imap-uw/Portfile

Modified: trunk/dports/mail/imap-uw/Portfile
===================================================================
--- trunk/dports/mail/imap-uw/Portfile	2015-07-16 00:21:22 UTC (rev 138677)
+++ trunk/dports/mail/imap-uw/Portfile	2015-07-16 01:08:58 UTC (rev 138678)
@@ -114,9 +114,7 @@
     xinstall -m 0755 ${worksrcpath}/src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1
     xinstall -m 0644 ${worksrcpath}/docs/RELNOTES ${destroot}${prefix}/share/doc/${name}
     xinstall -m 0644 ${worksrcpath}/docs/FAQ.html ${destroot}${prefix}/share/doc/${name}
-    foreach file [glob ${worksrcpath}/docs/*.txt] {
-        xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}
-    }
+    xinstall -m 0644 {*}[glob ${worksrcpath}/docs/*.txt] ${destroot}${prefix}/share/doc/${name}
 }
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150715/690d08f2/attachment-0001.html>


More information about the macports-changes mailing list