[FFmpeg-cvslog] r24376 - trunk/configure

mru subversion
Wed Jul 21 00:02:16 CEST 2010


Author: mru
Date: Wed Jul 21 00:02:16 2010
New Revision: 24376

Log:
configure: make sh_quote() more robust

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Jul 20 23:54:46 2010	(r24375)
+++ trunk/configure	Wed Jul 21 00:02:16 2010	(r24376)
@@ -304,7 +304,7 @@ c_escape(){
 
 sh_quote(){
     v=$(echo "$1" | sed "s/'/'\\\\''/g")
-    test "$v" = "${v#*[ |&;<>()$\`\\\"\'*?\[\]#~=%]}" || v="'$v'"
+    test "x$v" = "x${v#*[^A-Za-z0-9_/.+-]}" || v="'$v'"
     echo "$v"
 }
 



More information about the ffmpeg-cvslog mailing list