scripts/check-config.sh: fix to be compatible with BSD sed
authorRoger Pau Monne <royger@FreeBSD.org>
Sat, 13 Feb 2021 10:06:31 +0000 (11:06 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Feb 2021 21:51:48 +0000 (16:51 -0500)
commit99078472455b8bb69ce57237bcc68ea9ac88ae38
treeb4e401fbbd61dc311801de3765727edf0612da42
parentc6bf4f38988996f12c69a1cb5470bf9bea7c88ce
scripts/check-config.sh: fix to be compatible with BSD sed

Fist use extended regexp in order to drop the '\' around the
parentheses which is not supported by BSD sed in regular mode.

Secondly use [[:blank:]] instead of \s, as the later is a GNU
extension.

No functional change intended.

Signed-off-by: Roger Pau Monné <royger@FreeBSD.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/check-config.sh