diff options
author | Leon Rische <leon.rische@me.com> | 2020-11-02 14:20:56 +0100 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-11-02 14:20:56 +0100 |
commit | ef8378da9eaf65952a5d23e61cb982423ec6ba81 (patch) | |
tree | f4a2583dfb3e2b7a8cabb0d20728aa771141a9a1 | |
parent | 94e29c6ac8e618ddb9acc730738374eadb47ac62 (diff) |
Expand find path names
-rw-r--r-- | org-fc-awk.el | 4 |
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." |