Commit d72c981c authored by Måns Rullgård's avatar Måns Rullgård
Browse files

configure: fix sh_quote function

Non-matching lists start with ! instead of the usual ^ in shell

Originally committed as revision 24550 to svn://
parent a20df858
......@@ -306,7 +306,7 @@ c_escape(){
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment