Re: [PATCH v2] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

Andreas Schwab
2018-11-13T22:03:38Z

On Nov 13 2018, Brian Norris <briannorris@chromium.org> wrote:

> + } | grep -qv '^\(.. \)\?scripts/package'; then

\? is a GNU extension, so if you want to stay portable you need to
switch to ERE.

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."