Commit 25775078 authored by Brad King's avatar Brad King
Browse files

Glob: Do not warn if top-level directory does not exist

parent e093a985
......@@ -286,7 +286,9 @@ void Glob::ProcessDirectory(std::string::size_type start,
// std::cout << "ProcessDirectory: " << dir << std::endl;
bool last = (start == this->Internals->Expressions.size() - 1);
if (last && this->Recurse) {
if (kwsys::SystemTools::FileIsDirectory(dir)) {
this->RecurseDirectory(start, dir, messages);
}
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment