Actually ignore CVS directories now. Plus, fix the incorrect error message when installing.
This commit is contained in:
@@ -169,8 +169,6 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!mInstalling)
|
|
||||||
{
|
|
||||||
#pragma mark IGNORE
|
#pragma mark IGNORE
|
||||||
if (parts[0] == "IGNORE")
|
if (parts[0] == "IGNORE")
|
||||||
{
|
{
|
||||||
@@ -179,6 +177,8 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
|
|||||||
mIgnore.insert(ResolveVar(parts[1]));
|
mIgnore.insert(ResolveVar(parts[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!mInstalling)
|
||||||
|
{
|
||||||
++nextLine;
|
++nextLine;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ inline CString LastPathComponent(const CString& path)
|
|||||||
|
|
||||||
if (pos == path.npos)
|
if (pos == path.npos)
|
||||||
pos = 0;
|
pos = 0;
|
||||||
return path.substr(pos);
|
return path.substr(pos+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileListingForDirectoryWithIgnore(const CString& path, CStringArray& list, CStringArray& dirs,
|
void FileListingForDirectoryWithIgnore(const CString& path, CStringArray& list, CStringArray& dirs,
|
||||||
|
|||||||
Reference in New Issue
Block a user