Skip to content

Commit

Permalink
Clarify PATH modifications in postflight script
Browse files Browse the repository at this point in the history
  • Loading branch information
raimue committed Mar 22, 2017
1 parent e827571 commit c9802bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions guide/xml/installing.xml
Expand Up @@ -436,10 +436,9 @@
<listitem>
<para>Required: <varname>PATH</varname> variable</para>

<para>This variable is set by the postflight script to append the MacPorts executable paths to the
default path as shown. The MacPorts paths are appended at the front of <varname>PATH</varname>
so the MacPorts libraries will take precedence over vendor-supplied libraries for ported
software at runtime.</para>
<para>This variable is set by the postflight script to prepend the MacPorts executable paths to the
current path as shown. This puts the MacPorts paths at the front of <varname>PATH</varname>
so that the MacPorts binaries will take precedence over vendor-supplied binaries.</para>

<programlisting>export PATH=/opt/local/bin:/opt/local/sbin:$PATH</programlisting>

Expand Down

0 comments on commit c9802bc

Please sign in to comment.