get user's home

Umesh Singla umeshksingla at macports.org
Sun Aug 6 11:13:12 UTC 2017


That cleared it up. Thanks.

On Sat, Aug 5, 2017 at 2:28 AM, Joshua Root <jmr at macports.org> wrote:

> On 2017-8-5 06:46 , Umesh Singla wrote:
>
>> On a side note, I didn't get this part:
>>
>>     The user installing the port is not necessarily the one that will
>>     use it.
>>
>
> 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'. An end user
> then installs the port on their system. The value of $user_home will be
> different, for example '/Users/steve'. So if anything involving the value
> of $user_home ended up in the binary archive, it is wrong on the user's
> system.
>
> - Josh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170806/3003f101/attachment.html>


More information about the macports-dev mailing list