Browse Source

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: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Zhang Rui Michael Niedermayer 10 years ago
parent
commit
f5c281daa8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      configure

+ 1
- 1
configure View File

@@ -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(){


Loading…
Cancel
Save