now hopefully fix it for real (no guarantees, it just works here)

This commit is contained in:
Roland 2012-09-21 16:33:28 +02:00
parent a132bb5deb
commit 20c7b274cb

View file

@ -64,7 +64,7 @@ object Sphinx {
val temp = docs.getParentFile / (docs.getName + "_" + builder)
val cache = cacheDir / "sphinx" / builder
val cached = FileFunction.cached(cache)(FilesInfo.hash, FilesInfo.exists) { (in, out) =>
def dst(f: File) = new File(temp.toURI.resolve(docs.toURI.relativize(f.toURI)))
def dst(f: File) = temp / IO.relativize(docs, f).get
def filter(f: File) = filterExt contains f.getName.reverse.takeWhile('.' !=).reverse
val Replacer = """@(\w+)@""".r
/*