Skip to content
Snippets Groups Projects
Commit 1b75ad3d authored by Domen Vrankar's avatar Domen Vrankar Committed by Brad King
Browse files

Glob: Remove addition of extra '/'

When globing non recursive with for example '/a/*/*' the result
contained '//' instead of a single slash between directories.

Change-Id: I6adb672cde6e327c8fda6e29ff7d3b8ae5c7cb6b
parent 7c9a970a
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ void Glob::ProcessDirectory(kwsys_stl::string::size_type start,
}
else
{
this->ProcessDirectory(start+1, realname + "/");
this->ProcessDirectory(start+1, realname);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment