Commit 9e4506a2 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: do not collapse full path for cwd

parent a3d1de8c
......@@ -73,7 +73,9 @@ void cmDepends::Check()
std::string oldcwd = ".";
if(m_Directory != ".")
oldcwd = cmSystemTools::GetCurrentWorkingDirectory();
// Get the CWD but do not call CollapseFullPath because
// we only need it to cd back, and the form does not matter
oldcwd = cmSystemTools::GetCurrentWorkingDirectory(false);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment