Commit 779810f1 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Fix bug in chdir; Who did this anyway...

parent a63f7ba4
......@@ -542,7 +542,7 @@ int cmake::CMakeCommand(std::vector<std::string>& args)
}
// 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 command = args[3];
......
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