From 1b75ad3d611ffa9dfd10eba94645ffd88288704f Mon Sep 17 00:00:00 2001
From: Domen Vrankar <domen.vrankar@gmail.com>
Date: Sat, 21 Feb 2015 22:14:05 +0100
Subject: [PATCH] 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
---
 Glob.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Glob.cxx b/Glob.cxx
index d11fb571..1476c25e 100644
--- a/Glob.cxx
+++ b/Glob.cxx
@@ -335,7 +335,7 @@ void Glob::ProcessDirectory(kwsys_stl::string::size_type start,
         }
       else
         {
-        this->ProcessDirectory(start+1, realname + "/");
+        this->ProcessDirectory(start+1, realname);
         }
       }
     }
-- 
GitLab