diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-20 22:02:16 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-20 22:02:16 +0000 |
commit | f29be470b3646d5dbfdf68f867b9d32505881602 (patch) | |
tree | e5199b045297a101b6a9734a3e29577d9875bd00 | |
parent | fd7242ddbdd3bb3bedc3b520d8c80f4512742074 (diff) | |
download | ffmpeg-f29be470b3646d5dbfdf68f867b9d32505881602.tar.gz |
configure: make sh_quote() more robust
Originally committed as revision 24376 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" } |