Browse Source

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
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
d72c981c30
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      configure

+ 1
- 1
configure View File

@@ -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"
}



Loading…
Cancel
Save