Browse Source

Ok, now cd will work on windows

Andy Cedilnik 23 years ago
parent
commit
23deae1040
1 changed files with 1 additions and 1 deletions
  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;
     }