Răsfoiți Sursa

Ok, now cd will work on windows

Andy Cedilnik 23 ani în urmă
părinte
comite
23deae1040
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmSystemTools.cxx

+ 1 - 1
Source/cmSystemTools.cxx

@@ -1260,7 +1260,7 @@ bool RunCommandViaSystem(const char* command,
   if(dir)
     {
     commandInDir = "cd ";
-    commandInDir += dir;
+    commandInDir += cmSystemTools::ConvertToOutputPath(dir);
     commandInDir += " && ";
     commandInDir += command;
     }