[137648] trunk/dports/tex/ptex-sfmacros/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jun 15 23:59:09 PDT 2015


Revision: 137648
          https://trac.macports.org/changeset/137648
Author:   ryandesign at macports.org
Date:     2015-06-15 23:59:09 -0700 (Mon, 15 Jun 2015)
Log Message:
-----------
ptex-sfmacros: avoid a foreach in destroot

Modified Paths:
--------------
    trunk/dports/tex/ptex-sfmacros/Portfile

Modified: trunk/dports/tex/ptex-sfmacros/Portfile
===================================================================
--- trunk/dports/tex/ptex-sfmacros/Portfile	2015-06-16 04:09:38 UTC (rev 137647)
+++ trunk/dports/tex/ptex-sfmacros/Portfile	2015-06-16 06:59:09 UTC (rev 137648)
@@ -113,9 +113,7 @@
     foreach d {tategumi tateyoko sfsyoten sfoikomi} {
         set dir ${destroot}${texlive_texmfports}/ptex/platex/fujita/${d}
         xinstall -m 0755 -d ${dir}
-        foreach f [glob ${worksrcpath}/${d}/*] {
-            xinstall -m 0644 ${f} ${dir}
-        }
+        xinstall -m 0644 {*}[glob ${worksrcpath}/${d}/*] ${dir}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150615/ac7ad804/attachment.html>


More information about the macports-changes mailing list