From ce9b68f56443ae221f5eeea3155f3fe476e8b5ec Mon Sep 17 00:00:00 2001 From: Andy Stewart Date: Thu, 5 Mar 2020 18:26:53 +0800 Subject: [PATCH] Fix path problem of md5sum command. --- eaf.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eaf.el b/eaf.el index 45d0d8c..463b866 100644 --- a/eaf.el +++ b/eaf.el @@ -1631,7 +1631,7 @@ Make sure that your smartphone is connected to the same WiFi network as this com (eaf-open file "mindmap")) (defun eaf-get-file-md5 (file) - (car (split-string (shell-command-to-string (format "md5sum %s" (file-truename file))) " "))) + (car (split-string (shell-command-to-string (format "md5sum '%s'" (file-truename file))) " "))) (defun eaf-open-office (file) (interactive "fOpen office file: ")