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

This commit is contained in:
Andy Cedilnik 2002-09-30 16:46:19 -04:00
parent a63f7ba43c
commit 779810f132
1 changed files with 1 additions and 1 deletions

View File

@ -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];