Re: [PATCH v2] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks
From: Brian Norris
Date: Wed Nov 14 2018 - 21:06:34 EST
On Tue, Nov 13, 2018 at 2:03 PM Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote:
>
> On Nov 13 2018, Brian Norris <briannorris@xxxxxxxxxxxx> wrote:
>
> > + } | grep -qv '^\(.. \)\?scripts/package'; then
>
> \? is a GNU extension, so if you want to stay portable you need to
> switch to ERE.
Ack. That's what I get for reading the GNU man pages... I'll send a v3.
Thanks,
Brian