[134828] trunk/doc-new/guide/xml/portfile-tcl.xml
jmr at macports.org
jmr at macports.org
Wed Apr 8 06:10:56 PDT 2015
Revision: 134828
https://trac.macports.org/changeset/134828
Author: jmr at macports.org
Date: 2015-04-08 06:10:56 -0700 (Wed, 08 Apr 2015)
Log Message:
-----------
guide: use {*} instead of eval in xinstall examples
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfile-tcl.xml
Modified: trunk/doc-new/guide/xml/portfile-tcl.xml
===================================================================
--- trunk/doc-new/guide/xml/portfile-tcl.xml 2015-04-08 11:34:04 UTC (rev 134827)
+++ trunk/doc-new/guide/xml/portfile-tcl.xml 2015-04-08 13:10:56 UTC (rev 134828)
@@ -153,9 +153,9 @@
<variablelist>
<varlistentry>
- <term>eval xinstall [-o <replaceable>owner</replaceable>] [-g
+ <term>xinstall [-o <replaceable>owner</replaceable>] [-g
<replaceable>group</replaceable>] [-m
- <replaceable>mode</replaceable>] [glob
+ <replaceable>mode</replaceable>] {*}[glob
<replaceable>pattern</replaceable>]
<replaceable>directory</replaceable></term>
@@ -204,7 +204,7 @@
<programlisting>xinstall -m 640 -W ${worksrcpath}/doc README INSTALL COPY \
${destroot}${prefix}/share/doc/${name}</programlisting>
- <programlisting>eval xinstall -m 640 [glob ${worksrcpath}/doc/*] \
+ <programlisting>xinstall -m 640 {*}[glob ${worksrcpath}/doc/*] \
${destroot}${prefix}/share/doc/${name}</programlisting>
<programlisting>xinstall -d ${destroot}${prefix}/share/doc/${name}</programlisting>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150408/fadc26f4/attachment.html>
More information about the macports-changes
mailing list