mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3746 (part 3): use correct PATH separator on Windows
An IS-WINDOWS check would be too naive, because cygwin and git-bash use : as the path separator, while powershell and cmd.exe use ;
This commit is contained in:
@ -192,7 +192,7 @@ COMMAND, and passes ARGS to it."
|
|||||||
concat (format "%s=%s \\\n"
|
concat (format "%s=%s \\\n"
|
||||||
(match-string 1 env)
|
(match-string 1 env)
|
||||||
(shell-quote-argument (match-string 2 env)))))
|
(shell-quote-argument (match-string 2 env)))))
|
||||||
(format "PATH=\"%s:$PATH\" \\\n" (concat doom-emacs-dir "bin/"))
|
(format "PATH=\"%s%s$PATH\" \\\n" (concat doom-emacs-dir "bin/") path-separator)
|
||||||
"_postscript $@\n"))
|
"_postscript $@\n"))
|
||||||
(set-file-modes post-script #o700)))
|
(set-file-modes post-script #o700)))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user