ENH: Fix escaping on windows
This commit is contained in:
parent
d86d2fdf12
commit
4515c33d32
|
@ -323,22 +323,10 @@ bool cmSystemTools::RunSingleCommand(
|
|||
// Parse a quoted argument.
|
||||
++c;
|
||||
while(*c && *c != '"')
|
||||
{
|
||||
if(*c == '\\')
|
||||
{
|
||||
++c;
|
||||
if(*c)
|
||||
{
|
||||
arg.append(1, *c);
|
||||
++c;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
arg.append(1, *c);
|
||||
++c;
|
||||
}
|
||||
}
|
||||
if(*c)
|
||||
{
|
||||
++c;
|
||||
|
|
Loading…
Reference in New Issue