[FFmpeg-cvslog] r24550 - trunk/configure

mru subversion
Tue Jul 27 18:59:42 CEST 2010


Author: mru
Date: Tue Jul 27 18:59:42 2010
New Revision: 24550

Log:
configure: fix sh_quote function

Non-matching lists start with ! instead of the usual ^ in shell
patterns.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Jul 27 17:54:26 2010	(r24549)
+++ trunk/configure	Tue Jul 27 18:59:42 2010	(r24550)
@@ -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"
 }
 



More information about the ffmpeg-cvslog mailing list