diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-01-29 19:31:45 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-01-29 19:31:45 (GMT) |
commit | f6cb5c39bd8cd44641a8dd5f452b172531de540f (patch) | |
tree | 18119876d9fa1972dfb9d02bf60ca2a35ed8aae4 /Source/cmake.cxx | |
parent | ab11f82a5249581857cfacc837709c176095b7af (diff) | |
download | CMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.zip CMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.tar.gz CMake-f6cb5c39bd8cd44641a8dd5f452b172531de540f.tar.bz2 |
BUG: fix for #8418 -E chdir should return fail of dir does not exist
Diffstat (limited to 'Source/cmake.cxx')
-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 b025185..1f7a746 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1228,7 +1228,7 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args) { cmSystemTools::Error("Directory does not exist for chdir command: ", args[2].c_str()); - return 0; + return 1; } std::string command = "\""; |