Commit 50aac889 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fixed hard link to emacs.exe in non-MSYS build.

parent a077194c
......@@ -414,7 +414,12 @@
(substring name (match-end 0)))))
(setq name (concat name exe))
(message "Adding name %s" name)
(add-name-to-file (concat "emacs" exe) name t)))
;; When this runs on Windows, invocation-directory is not
;; necessarily the current directory.
(add-name-to-file (expand-file-name (concat "emacs" exe)
(expand-file-name name invocation-directory)
;; For machines with CANNOT_DUMP defined in config.h,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment