From d72c981c30dc652d94080bb5668046ba9b489fe5 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Tue, 27 Jul 2010 16:59:42 +0000 Subject: configure: fix sh_quote function Non-matching lists start with ! instead of the usual ^ in shell patterns. Originally committed as revision 24550 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index b4e987a6ae..7e70dfbbe5 100755 --- a/configure +++ b/configure @@ -306,7 +306,7 @@ c_escape(){ sh_quote(){ v=$(echo "$1" | sed "s/'/'\\\\''/g") - test "x$v" = "x${v#*[^A-Za-z0-9_/.+-]}" || v="'$v'" + test "x$v" = "x${v#*[!A-Za-z0-9_/.+-]}" || v="'$v'" echo "$v" } -- cgit v1.2.3