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
+8 -8
View File
@@ -169,16 +169,16 @@ void Processor::ProcessLine(const CString& line, unsigned& nextLine)
return;
}
#pragma mark IGNORE
if (parts[0] == "IGNORE")
{
if (parts.size() != 2)
goto error;
mIgnore.insert(ResolveVar(parts[1]));
}
if (!mInstalling)
{
#pragma mark IGNORE
if (parts[0] == "IGNORE")
{
if (parts.size() != 2)
goto error;
mIgnore.insert(ResolveVar(parts[1]));
}
++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,