Actually ignore CVS directories now. Plus, fix the incorrect error message when installing.

This commit is contained in:
Steve Checkoway
2003-09-16 04:59:31 +00:00
parent ec8b6fcf1a
commit e5b84a402b
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -169,8 +169,6 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
return;
}
if (!mInstalling)
{
#pragma mark IGNORE
if (parts[0] == "IGNORE")
{
@@ -179,6 +177,8 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
mIgnore.insert(ResolveVar(parts[1]));
}
if (!mInstalling)
{
++nextLine;
return;
}
+1 -1
View File
@@ -50,7 +50,7 @@ inline CString LastPathComponent(const CString& path)
if (pos == path.npos)
pos = 0;
return path.substr(pos);
return path.substr(pos+1);
}
void FileListingForDirectoryWithIgnore(const CString& path, CStringArray& list, CStringArray& dirs,