[FFmpeg-cvslog] configure: clean whitespace with [:space:]

Zhang Rui git at videolan.org
Mon Jul 13 13:47:02 CEST 2015


ffmpeg | branch: master | Zhang Rui <bbcallen at gmail.com> | Mon Jul 13 16:22:40 2015 +0800| [f5c281daa8aed4618f94e4131be17e772f6673f8] | committer: 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: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5c281daa8aed4618f94e4131be17e772f6673f8
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 741d741..88ee936 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(){



More information about the ffmpeg-cvslog mailing list