While looking over
/var/logs/install.log, I've noticed that whenever I install a pkg, the installer first outputs a bunch of detected environment variables. However the env vars it outputs doesn't exactly match what I see with
printenv. Nor does it contain vars I export in my
I was wondering where it's getting these env vars from and how can I query for the same list via CLI?
Running Mojave 10.14.4, though I've seen this behavior on High Sierra.
I do not have the following
/etc/profile only invokes
Refs I used: