get user's home

db iamsudo at gmail.com
Fri Aug 4 21:14:51 UTC 2017


On 4 Aug 2017, at 22:58, Joshua Root <jmr at macports.org> wrote:
> Suppose a port is built on the buildbot. The user is 'buildbot' and so the value of $user_home will be something like '/Users/buildbot'.

During testing I didn't thoroughly checked that env var there. I suppose, it could be deleted or set to nil and left to the user to set it himself. As I said, I wrote the port for me, and uploaded it for others to test, as I couldn't figure out a (better) way to set it in the startup item and didn't find documentation on how macports would handle this case.


More information about the macports-dev mailing list