[143671] trunk/dports/mail/cyrus-imapd/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 17 04:48:12 PST 2015
Revision: 143671
https://trac.macports.org/changeset/143671
Author: ryandesign at macports.org
Date: 2015-12-17 04:48:11 -0800 (Thu, 17 Dec 2015)
Log Message:
-----------
cyrus-imapd: use expansion operator instead of eval
Modified Paths:
--------------
trunk/dports/mail/cyrus-imapd/Portfile
Modified: trunk/dports/mail/cyrus-imapd/Portfile
===================================================================
--- trunk/dports/mail/cyrus-imapd/Portfile 2015-12-17 12:39:28 UTC (rev 143670)
+++ trunk/dports/mail/cyrus-imapd/Portfile 2015-12-17 12:48:11 UTC (rev 143671)
@@ -34,7 +34,7 @@
post-patch {
foreach dir {contrib contrib/cyrus-graphtools.1.0/cgi-bin contrib/cyrus-graphtools.1.0/script perl/imap/examples perl/sieve/scripts tools} {
- eval reinplace "s|^#!.*perl|#!${perl5.bin}|" [glob -d ${worksrcpath}/${dir} *.pl]
+ reinplace "s|^#!.*perl|#!${perl5.bin}|" {*}[glob -d ${worksrcpath}/${dir} *.pl]
}
}
@@ -87,7 +87,7 @@
xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/spool/imap
destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/imap \
${destroot}${prefix}/var/spool/imap ${destroot}${prefix}/var/log
- eval delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
+ delete {*}[glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
}
platform powerpc {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151217/5807a6c9/attachment-0001.html>
More information about the macports-changes
mailing list