Merge pull request #1191 from npostavs/4.stable

Bootstrap fails because of spaces in exe path, fixed with :shell nil
This commit is contained in:
Dimitri Fontaine 2013-09-07 06:32:46 -07:00
commit 20f5d34c05

View File

@ -356,8 +356,10 @@ makes it easier to conditionally splice a command into the list.
(cbuf (plist-get c :buffer-name))
(killed (when (get-buffer cbuf) (kill-buffer cbuf)))
(filter (plist-get c :process-filter))
(program (plist-get c :program))
(shell (plist-get c :shell))
(program (if shell
(shell-quote-argument (plist-get c :program))
(plist-get c :program)))
(args (if shell
(mapcar #'shell-quote-argument (plist-get c :args))
(plist-get c :args)))