Use proper escaping on windows.

[SVN r26761]
This commit is contained in:
Vladimir Prus 2005-01-20 12:26:36 +00:00
parent ee8ee54b64
commit 29ac2210dc

View File

@ -428,7 +428,7 @@ if [ modules.peek : NT ]
if $(string) || $(string) != ""
{
local escaped = [ regex.escape $(string) : "&|()<>^" : "^" ] ;
return "echo $(escaped)" ;
return "echo \"$(escaped)\"" ;
}
else
{