Actually ignore CVS directories now. Plus, fix the incorrect error message when installing.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user