Commit f5c281da authored by Zhang Rui's avatar Zhang Rui Committed by Michael Niedermayer

configure: clean whitespace with [:space:]

https://en.wikibooks.org/wiki/Regular_Expressions/POSIX_Basic_Regular_Expressions

Fixes NDKr10e on Cygwin,
CC_IDENT for it is defined as
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 488cc051
......@@ -477,7 +477,7 @@ sh_quote(){
}
cleanws(){
echo "$@" | sed 's/^ *//;s/ */ /g;s/ *$//;s/\\r//g'
echo "$@" | sed 's/^ *//;s/[[:space:]][[:space:]]*/ /g;s/ *$//'
}
filter(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment