diff options
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7c360f8..e68c3f4 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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]; |