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:
parent
8402f8aecc
commit
b4431dcd49
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ COMMAND, and passes ARGS to it."
|
|||
concat (format "%s=%s \\\n"
|
||||
(match-string 1 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"))
|
||||
(set-file-modes post-script #o700)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue