[40129] trunk/doc-new/guide/xml/portfiledev.xml

ryandesign at macports.org ryandesign at macports.org
Sun Sep 21 13:21:17 PDT 2008


Revision: 40129
          http://trac.macports.org/changeset/40129
Author:   ryandesign at macports.org
Date:     2008-09-21 13:21:17 -0700 (Sun, 21 Sep 2008)
Log Message:
-----------
portfiledev.xml: use the "port dir" function instead of spelling out the path again

Modified Paths:
--------------
    trunk/doc-new/guide/xml/portfiledev.xml

Modified: trunk/doc-new/guide/xml/portfiledev.xml
===================================================================
--- trunk/doc-new/guide/xml/portfiledev.xml	2008-09-21 19:52:12 UTC (rev 40128)
+++ trunk/doc-new/guide/xml/portfiledev.xml	2008-09-21 20:21:17 UTC (rev 40129)
@@ -622,7 +622,7 @@
           this example, we'll apply a Portfile patch to the postfix
           port.</para>
 
-          <programlisting><prompt>%%</prompt> <userinput>cd ${prefix}/var/macports/sources/rsync.macports.org/release/ports/mail/postfix</userinput></programlisting>
+          <programlisting><prompt>%%</prompt> <userinput>cd $(port dir postfix)</userinput></programlisting>
         </listitem>
 
         <listitem>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080921/0fcefa7f/attachment.html 


More information about the macports-changes mailing list