summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-07-25 20:41:36 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-07-25 20:41:36 (GMT)
commit23deae10400d9fe20f7041e754a81b76415895c9 (patch)
treedd04a62ebd1f3dc7c2e71c05f3d7a26811dbaff1
parent8dd16025746bc3c8baa2f6361d17aead15a2d913 (diff)
downloadCMake-23deae10400d9fe20f7041e754a81b76415895c9.zip
CMake-23deae10400d9fe20f7041e754a81b76415895c9.tar.gz
CMake-23deae10400d9fe20f7041e754a81b76415895c9.tar.bz2
Ok, now cd will work on windows
-rw-r--r--Source/cmSystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index e4e3d95..e800710 100644
--- a/Source/cmSystemTools.cxx
+++ b/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;
}