Arrange so that we dont need recoll.conf.in any more.

--HG--
branch : WINDOWSPORT
This commit is contained in:
Jean-Francois Dockes
2015-09-11 09:38:31 +02:00
parent bd58ffb920
commit 776f4369b9
2 changed files with 11 additions and 8 deletions
+5 -3
View File
@@ -1322,12 +1322,14 @@ string RclConfig::findFilter(const string &icmd) const
if (access(cmd.c_str(), X_OK) == 0)
return cmd;
}
// Filters dir as configuration parameter?
if (getConfParam(string("filtersdir"), cmd)) {
cmd = path_cat(cmd, icmd);
if (access(cmd.c_str(), X_OK) == 0)
return cmd;
}
cmd = path_tildexpand(cmd);
if (access(cmd.c_str(), X_OK) == 0)
return cmd;
}
// Filters dir as datadir subdir. Actually the standard case, but
// this is normally the same value found in config file (previous step)