On 15/05/12 12:39, Jasper Frumau wrote:
In .profile I already have


# MacPorts Installer addition on 2009-10-20_at_13:11:20: adding an
appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.
#Django path
export
PATH=/opt/local/bin:opt/local/sbin:/opt/local/lib/python2.4/site-packages/django/bin:$PATH
# Apache alias
alias apacherestart='sudo /opt/local/apache2/bin/apachectl -k restart'
#Subversion OSX for Eclips Joomla Development
export PATH=/opt/subversion/bin:$PATH


So why does that not work?

Probably something later on, maybe added by XQuartz, is over ridding these settings. Do any other of your 'dot' files do anything with PATH ? What does

 > grep PATH ~/.*

return ?

Chris




On Tue, May 15, 2012 at 6:37 PM, Jeremy Lavergne
<[email protected] <mailto:[email protected]>> wrote:

     > Should I just do
     >
     > export PATH=/opt/local/bin:/opt/local/sbin:$PATH
     >
     > to fix the issue?

    Depends.

    That will only work in the current shell unless you put it in a dot
    file that is sourced when you open a new terminal.




_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to