diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-30 20:46:19 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-09-30 20:46:19 (GMT) |
commit | 779810f132697b2d6be8b8ab0b797ef0cca3a0e4 (patch) | |
tree | 60ca8aca86ca5471e72a7377b95ff643268be1a7 /Source | |
parent | a63f7ba43c9200dd385b34c658c500eedc222e3f (diff) | |
download | CMake-779810f132697b2d6be8b8ab0b797ef0cca3a0e4.zip CMake-779810f132697b2d6be8b8ab0b797ef0cca3a0e4.tar.gz CMake-779810f132697b2d6be8b8ab0b797ef0cca3a0e4.tar.bz2 |
Fix bug in chdir; Who did this anyway...
Diffstat (limited to 'Source')
-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]; |