]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix bug#55274
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 6 May 2022 15:33:41 +0000 (17:33 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 6 May 2022 15:33:41 +0000 (17:33 +0200)
* lisp/dired-aux.el (dired-do-compress-to): Use `file-local-name'
for shell out-file.  (Bug#55274)

lisp/dired-aux.el

index f16568f919012ec28c9ba7e3e75bc70edc4ce3ef..e00910cfe8d4b1ec507664129a642083d8de417e 100644 (file)
@@ -1242,7 +1242,8 @@ and `dired-compress-files-alist'."
            (when (zerop
                   (dired-shell-command
                    (format-spec (cdr rule)
-                                `((?o . ,(shell-quote-argument out-file))
+                                `((?o . ,(shell-quote-argument
+                                          (file-local-name out-file)))
                                   (?i . ,(mapconcat
                                           (lambda (in-file)
                                             (shell-quote-argument