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

MacPorts noreply at macports.org
Sat Oct 22 11:32:32 CEST 2016


#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 neverpanic):

 r154110 fixes a part of this that will eventually cause the strings to not
 appear twice. Finding out why our check for the presence of `${PREFIX}` in
 `$PATH` doesn't work correctly is still open. We should try

 {{{
 SHELL=/usr/bin/dscl . -read "/Users/${USER}" shell | awk -F'/' '{print
 $NF}'
 $SHELL $LOGIN_FLAG -c '/usr/bin/printenv PATH' | grep "${PREFIX}"
 }}}

 on as many machines possible, especially those where we see it end up
 twice.

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



More information about the macports-tickets mailing list