Fix bug in chdir; Who did this anyway...
This commit is contained in:
parent
a63f7ba43c
commit
779810f132
|
@ -542,7 +542,7 @@ int cmake::CMakeCommand(std::vector<std::string>& args)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clock command
|
// Clock command
|
||||||
else if (args[1] == "chdir" && args.size() == 4)
|
else if (args[1] == "chdir" && args.size() >= 4)
|
||||||
{
|
{
|
||||||
std::string directory = args[2];
|
std::string directory = args[2];
|
||||||
std::string command = args[3];
|
std::string command = args[3];
|
||||||
|
|
Loading…
Reference in New Issue