Skip to content

Commit d395398

Browse files
committed
Check for unzip properly when downloading eca
1 parent 9e0ad95 commit d395398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eca-process.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ https://github.com/emacs-lsp/lsp-mode/issues/4746#issuecomment-2957183423"
189189
(eca-info "Downloading eca server from %s to %s..." url download-path)
190190
(eca--download-file url download-path)
191191
(eca-info "Downloaded eca, unzipping it...")
192-
(unless eca-unzip-script
192+
(unless (and eca-unzip-script (funcall eca-unzip-script))
193193
(error "Unable to find `unzip' or `powershell' on the path, please customize `eca-unzip-script'"))
194194
(shell-command (format (funcall eca-unzip-script) download-path (f-parent store-path)))
195195
(f-write-text version 'utf-8 eca-server-version-file-path)

0 commit comments

Comments
 (0)