[46986] trunk/doc-new/guide/xml/portfiledev.xml
ryandesign at macports.org
ryandesign at macports.org
Wed Feb 18 20:52:44 PST 2009
Revision: 46986
http://trac.macports.org/changeset/46986
Author: ryandesign at macports.org
Date: 2009-02-18 20:52:43 -0800 (Wed, 18 Feb 2009)
Log Message:
-----------
portfiledev.xml: recommend using the -p flag to cp to preserve attributes such as the file's original modification time
Modified Paths:
--------------
trunk/doc-new/guide/xml/portfiledev.xml
Modified: trunk/doc-new/guide/xml/portfiledev.xml
===================================================================
--- trunk/doc-new/guide/xml/portfiledev.xml 2009-02-19 04:52:10 UTC (rev 46985)
+++ trunk/doc-new/guide/xml/portfiledev.xml 2009-02-19 04:52:43 UTC (rev 46986)
@@ -478,7 +478,7 @@
must be in the same directory, though it may be any
directory.</para>
- <programlisting><prompt>%%</prompt> <userinput>cp Portfile Portfile.orig</userinput></programlisting>
+ <programlisting><prompt>%%</prompt> <userinput>cp -p Portfile Portfile.orig</userinput></programlisting>
</listitem>
<listitem>
@@ -569,7 +569,7 @@
it.</para>
<programlisting><prompt>%%</prompt> <userinput>cd ~/Downloads/foo-1.34/src</userinput>
-<prompt>%%</prompt> <userinput>cp Makefile.in Makefile.in.orig</userinput></programlisting>
+<prompt>%%</prompt> <userinput>cp -p Makefile.in Makefile.in.orig</userinput></programlisting>
</listitem>
<listitem>
@@ -807,4 +807,4 @@
${name}-src-${version}</para>
</section>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090218/74a00a5e/attachment-0001.html>
More information about the macports-changes
mailing list