summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--org-fc-awk.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/org-fc-awk.el b/org-fc-awk.el
index fce1747..b0dbe11 100644
--- a/org-fc-awk.el
+++ b/org-fc-awk.el
@@ -31,7 +31,9 @@ a '.' to exclude temporary / backup files.
With the '-L' option, 'find' follows symlinks."
(format
"find -L %s -name \"*.org\" -not -name \".*\" -print0"
- (mapconcat 'shell-quote-argument paths " ")))
+ (mapconcat
+ (lambda (path) (shell-quote-argument (expand-file-name path)))
+ paths " ")))
(defun org-fc-awk--indexer-variables ()
"Variables to pass to indexer scripts."