Revision d72c981c configure

View differences:

configure
306 306

  
307 307
sh_quote(){
308 308
    v=$(echo "$1" | sed "s/'/'\\\\''/g")
309
    test "x$v" = "x${v#*[^A-Za-z0-9_/.+-]}" || v="'$v'"
309
    test "x$v" = "x${v#*[!A-Za-z0-9_/.+-]}" || v="'$v'"
310 310
    echo "$v"
311 311
}
312 312

  

Also available in: Unified diff