fix for glob command
This commit is contained in:
parent
972541c291
commit
c83f3b3c4c
|
@ -263,8 +263,8 @@ bool cmGlob::FindFiles(const std::string& inexpr)
|
||||||
std::string::size_type cc;
|
std::string::size_type cc;
|
||||||
std::string expr = inexpr;
|
std::string expr = inexpr;
|
||||||
|
|
||||||
m_Internals->Expressions.empty();
|
m_Internals->Expressions.clear();
|
||||||
m_Internals->Files.empty();
|
m_Internals->Files.clear();
|
||||||
|
|
||||||
if ( !cmsys::SystemTools::FileIsFullPath(expr.c_str()) )
|
if ( !cmsys::SystemTools::FileIsFullPath(expr.c_str()) )
|
||||||
{
|
{
|
||||||
|
@ -273,7 +273,6 @@ bool cmGlob::FindFiles(const std::string& inexpr)
|
||||||
}
|
}
|
||||||
|
|
||||||
int skip = 0;
|
int skip = 0;
|
||||||
|
|
||||||
int last_slash = 0;
|
int last_slash = 0;
|
||||||
for ( cc = 0; cc < expr.size(); cc ++ )
|
for ( cc = 0; cc < expr.size(); cc ++ )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue