make very sure ~/.beagle is in the skippedPaths

This commit is contained in:
dockes 2009-11-16 16:11:14 +00:00
parent 7d18c22142
commit ef46cd8087

View File

@ -109,7 +109,7 @@ bool FsIndexer::index()
}
m_walker.setSkippedPaths(m_config->getSkippedPaths());
m_walker.addSkippedPath(path_tildexpand("~/.beagle"));
for (list<string>::const_iterator it = m_tdl.begin();
it != m_tdl.end(); it++) {
LOGDEB(("FsIndexer::index: Indexing %s into %s\n", it->c_str(),
@ -208,6 +208,7 @@ bool FsIndexer::indexFiles(list<string>& files)
// We use an FsTreeWalker just for handling the skipped path/name lists
FsTreeWalker walker;
walker.setSkippedPaths(m_config->getSkippedPaths());
m_walker.addSkippedPath(path_tildexpand("~/.beagle"));
for (list<string>::iterator it = files.begin(); it != files.end(); ) {
LOGDEB2(("FsIndexer::indexFiles: [%s]\n", it->c_str()));