summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-27 16:59:42 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-27 16:59:42 +0000
commitd72c981c30dc652d94080bb5668046ba9b489fe5 (patch)
tree64565fe817819d502afa6c5739317e815f8d8d72 /configure
parenta20df85886abf3ba2aafb3598719701dfbae2ea3 (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-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b4e987a6ae..7e70dfbbe5 100755
--- a/configure
+++ b/configure
@@ -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"
}