diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-21 02:02:16 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-21 02:02:16 +0400 |
commit | f29be470b3646d5dbfdf68f867b9d32505881602 (patch) | |
tree | e5199b045297a101b6a9734a3e29577d9875bd00 /configure | |
parent | fd7242ddbdd3bb3bedc3b520d8c80f4512742074 (diff) |
configure: make sh_quote() more robust
Originally committed as revision 24376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-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" } |