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
...@@ -335,7 +335,7 @@ void Glob::ProcessDirectory(kwsys_stl::string::size_type start, ...@@ -335,7 +335,7 @@ void Glob::ProcessDirectory(kwsys_stl::string::size_type start,
} }
else else
{ {
this->ProcessDirectory(start+1, realname + "/"); this->ProcessDirectory(start+1, realname);
} }
} }
} }
......
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