[MacPorts] #43749: Macports install: keep repeating in .profile...

MacPorts noreply at macports.org
Mon Dec 7 15:51:11 PST 2015


#43749: Macports install: keep repeating in .profile...
------------------------+--------------------------------
  Reporter:  jul_bsd@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------------------

Comment (by ryandesign@…):

 Replying to [comment:1 ryandesign@…]:
 > The code that adds to your shell startup file knows about the different
 shell startup files that are used by bash and tcsh and tries to pick the
 best one to modify. Also, it does not modify the file if the MacPorts
 prefix is already in your PATH. So perhaps in your case you have multiple
 shell startup files, and MacPorts has picked the wrong one, and it's
 therefore not actually getting into your environment, and therefore
 MacPorts keeps trying to modify the file again?

 I was mistaken; this problem happened to me too when reinstalling MacPorts
 on one of our buildbot builders (running El Capitan). The part of the
 script that's supposed to detect if PATH already contains the MacPorts
 prefix doesn't seem to be working. I haven't checked if this is because of
 changes in OS X or changes in the script. The part of the script that
 detects MANPATH and DISPLAY seems to be working fine.

-- 
Ticket URL: <https://trac.macports.org/ticket/43749#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list