MP_EDITOR doesn't work
jmr at macports.org
Thu Apr 6 21:10:11 UTC 2017
> On 6 Apr 2017, at 02:35, Ryan Schmidt <ryandesign at macports.org> wrote:
>> export EDITOR=editor.sh
> And does it work with MP_EDITOR? I just tried setting it in a vanilla vm, no dice. I set -dv when editing a portfile, but no related information is being logged.
Yes it works with MP_EDITOR, I just checked. You never showed the exact
command you are running; are you using sudo? That will strip all
environment variables that are not listed in env_keep. VISUAL and EDITOR
are there in the default sudoers, but MP_EDITOR is not.
More information about the macports-users