BUG: fix for #8418 -E chdir should return fail of dir does not exist
This commit is contained in:
parent
ab11f82a52
commit
f6cb5c39bd
|
@ -1228,7 +1228,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Directory does not exist for chdir command: ",
|
cmSystemTools::Error("Directory does not exist for chdir command: ",
|
||||||
args[2].c_str());
|
args[2].c_str());
|
||||||
return 0;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string command = "\"";
|
std::string command = "\"";
|
||||||
|
|
Loading…
Reference in New Issue