Xcode 4.3: Apparently Persistent License Agreement

Harald Hanche-Olsen hanche at math.ntnu.no
Sun Mar 4 13:38:46 PST 2012


[Harald Hanche-Olsen <hanche at math.ntnu.no> (2012-03-04 21:30:49 UTC)]

> How exactly does it determine where to copy the accepted license from?

I got it; by examining $HOME, which is not changed by sudo. My problem
is in the way I run my macports upgrades: I run "sudo es" (es is my
login shell of choice), and I run the port command in the shell. Now
es (even if not a login shell) sets HOME to the home directory of the
owner of the process, in this case /var/root. By manually changing
HOME to be my own home directory, I managed to get it to work.

- Harald


More information about the macports-users mailing list