[MacPorts] #43202: macports.tcl: doesn't reset user if svn fails

MacPorts noreply at macports.org
Thu Apr 3 13:42:09 PDT 2014


#43202: macports.tcl: doesn't reset user if svn fails
----------------------+--------------------------------
  Reporter:  mojca@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  base     |    Version:  2.2.99
Resolution:           |   Keywords:  haspatch
      Port:           |
----------------------+--------------------------------

Comment (by mojca@…):

 One way to test this it to add one extra debug line with `geteuid` to
 `/opt/local/share/macports/Tcl/macports1.0/macports.tcl`:
 {{{
 set needs_portindex 0
 ui_info "Synchronizing local ports tree from $source"
 ui_info ">>> Hello me ([geteuid])"
 }}}
 and to replace
 {{{
 system $svn_commandline
 }}}
 with
 {{{
 system "/usr/bin/false"
 }}}

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


More information about the macports-tickets mailing list