port diagnose bug

Mark Bestley news at bestley.co.uk
Tue Jan 31 20:36:53 UTC 2017


On 31/01/2017 12:30, Barry Scott wrote:
>
>> On 28 Jan 2017, at 18:40, Mark Bestley <news at bestley.co.uk> wrote:
>>
>> port diagnose gives me
>>
>> Warning: your $PATH environment variable does not currently include, /opt/local/bin, which is where port is located.  Would you like to add /opt/local/bin to your $PATH variable now? [Y/N]
>>
>> Well it is on my path
>>
>> $ echo $PATH
>> /Users/mark/bin /Users/mark/anaconda/bin /Users/mark/.gem/bin /usr/local/bin /opt/local/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/Frameworks/Mono.framework/Versions/Current/Commands
>>
>>
>> and no I do not want it added (see other thread)
>
>>
>> I suspect the issue is that I am using fish as my shell
>
> The install code only adds for bash and tcsh all other shells are ignored.
>

Yes I know that - the issue is that I don't want the warning message.

Also seeing the other thread I would note I am running the shell from 
iTerm explicitly  and it is not set up as a shell in /etc/shells


Mark




More information about the macports-users mailing list