error: can't read "result": no such variable
jmr at macports.org
Sat Dec 2 03:07:48 UTC 2017
Gideon Simpson wrote:
> Ok, this problem is weird. I get the original error if I perform any port command, including stuff like port help. However, as soon as I do a sudo, the commands work as expected.
That suggests to me that you have some environment variable set that is
a problem for sw_vers for some reason. Most environment variables are
unset by sudo.
More information about the macports-users