From 1f422eb023e5b94a173d372dc93431ca2c4c09ac Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 22 Dec 2021 19:16:36 +0100 Subject: [PATCH] path_tildexpand was not applied to webdownloadsdir leading to failure if it was specified as ~/xxx --- src/index/indexer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index/indexer.cpp b/src/index/indexer.cpp index c0e5af03..aec2d58b 100644 --- a/src/index/indexer.cpp +++ b/src/index/indexer.cpp @@ -59,8 +59,9 @@ bool runWebFilesMoverScript(RclConfig *config) static string downloadsdir; if (downloadsdir.empty()) { if (!config->getConfParam("webdownloadsdir", downloadsdir)) { - downloadsdir = path_tildexpand("~/Downloads"); + downloadsdir = "~/Downloads"; } + downloadsdir = path_tildexpand(downloadsdir); } vector cmdvec; config->pythonCmd("recoll-we-move-files.py", cmdvec);