Module: ffmpeg Branch: master Commit: bb7a22b5840e56c034227ad596b1165c03f2da27
Author: Mans Rullgard <[email protected]> Date: Sun Feb 13 13:06:53 2011 +0000 configure: add cleanws() function This function removes leading and trailing spaces and collapses multiple spaces into one. Signed-off-by: Mans Rullgard <[email protected]> --- configure | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure b/configure index a310d25..01b092f 100755 --- a/configure +++ b/configure @@ -313,6 +313,10 @@ sh_quote(){ echo "$v" } +cleanws(){ + echo "$@" | sed 's/^ *//;s/ */ /g;s/ *$//' +} + filter(){ pat=$1 shift _______________________________________________ ffmpeg-commits mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-commits
