Changeset 46986 for trunk/doc-new


Ignore:
Timestamp:
Feb 19, 2009, 4:52:43 AM (10 years ago)
Author:
ryandesign@…
Message:

portfiledev.xml: recommend using the -p flag to cp to preserve attributes such as the file's original modification time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc-new/guide/xml/portfiledev.xml

    r46981 r46986  
    479479          directory.</para>
    480480
    481           <programlisting><prompt>%%</prompt> <userinput>cp Portfile Portfile.orig</userinput></programlisting>
     481          <programlisting><prompt>%%</prompt> <userinput>cp -p Portfile Portfile.orig</userinput></programlisting>
    482482        </listitem>
    483483
     
    570570
    571571          <programlisting><prompt>%%</prompt> <userinput>cd ~/Downloads/foo-1.34/src</userinput>
    572 <prompt>%%</prompt> <userinput>cp Makefile.in Makefile.in.orig</userinput></programlisting>
     572<prompt>%%</prompt> <userinput>cp -p Makefile.in Makefile.in.orig</userinput></programlisting>
    573573        </listitem>
    574574
Note: See TracChangeset for help on using the changeset viewer.