index warning and bash-completion

Clemens Lang cal at macports.org
Sat Mar 10 22:15:57 UTC 2018


On Sat, Mar 10, 2018 at 09:24:27PM +0100, db wrote:
> On 10 Mar 2018, at 20:05, Ryan Schmidt <ryandesign at macports.org> wrote:
> > Are your port definitions in fact more than two weeks old?
> 
> Yes, but I'd expect the warning after I actually ran the command.

Unfortunately that happens because the bash completion executes 'port
-q', which only hides info messages, but still displays warnings. The
source code for this is at
  https://github.com/macports/macports-ports/blob/master/sysutils/bash-completion/files/port
so if you have time you could try modifying it to drop stderr into
nirvana and submit a pull request for that.

-- 
Clemens


More information about the macports-users mailing list