[MacPorts] #21625: .bash_profile $PATH handled incorrectly

MacPorts noreply at macports.org
Sat Sep 26 13:56:24 PDT 2009


#21625: .bash_profile $PATH handled incorrectly
---------------------------------------+------------------------------------
 Reporter:  curtis_ovid_poe@…          |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  base                       |     Version:  1.8.0                                
 Keywords:                             |        Port:                                       
---------------------------------------+------------------------------------

Comment(by blb@…):

 Replying to [ticket:21625 curtis_ovid_poe@…]:
 > There were two problems with this.  First, I already had /opt/local/bin
 in my path, so now it's there twice.

 Where are you currently setting this?  The installer should be checking
 PATH and only updating your dotfiles when it doesn't see MacPorts' paths.

 >  * If I have $HOME/bin first in my path, it's because I want $HOME/bin
 first in my path.  Please leave it there :)

 Note that the initial install will put it first on PATH (when MacPorts'
 paths aren't already there) and is doing that quite on purpose.

-- 
Ticket URL: <http://trac.macports.org/ticket/21625#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list