diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-27 20:59:42 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-27 20:59:42 +0400 |
commit | d72c981c30dc652d94080bb5668046ba9b489fe5 (patch) | |
tree | 64565fe817819d502afa6c5739317e815f8d8d72 /configure | |
parent | a20df85886abf3ba2aafb3598719701dfbae2ea3 (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" } |