aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Rui <bbcallen@gmail.com>2015-07-13 16:22:40 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-13 13:38:29 +0200
commitf5c281daa8aed4618f94e4131be17e772f6673f8 (patch)
tree72b5f9ca492c7a60f93f94fe1279f5c43dfd84ad
parent488cc0519242340b92b5c64bf7b8a774f5c504a9 (diff)
downloadffmpeg-f5c281daa8aed4618f94e4131be17e772f6673f8.tar.gz
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 741d741fbc..88ee936683 100755
--- a/configure
+++ b/configure
@@ -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(){