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

From: Andreas Schwab
Date: Tue Nov 13 2018 - 17:03:38 EST


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.

Andreas.

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