Przeglądaj źródła

Ok, now cd will work on windows

Andy Cedilnik 23 lat temu
rodzic
commit
23deae1040
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Source/cmSystemTools.cxx

+ 1 - 1
Source/cmSystemTools.cxx

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