From 779810f132697b2d6be8b8ab0b797ef0cca3a0e4 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 30 Sep 2002 16:46:19 -0400 Subject: Fix bug in chdir; Who did this anyway... --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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& 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]; -- cgit v0.12