Skip to content

Commit

Permalink
Don't call shell-quote-argument in el-get-build
Browse files Browse the repository at this point in the history
Also, use slightly more robust type checking on the command.
  • Loading branch information
DarwinAwardWinner committed Oct 5, 2011
1 parent 6abbd8a commit 11ef806
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions el-get-build.el
Expand Up @@ -81,9 +81,9 @@ recursion.
(default-directory (file-name-as-directory wdir))
(process-list
(mapcar (lambda (c)
(let* ((split (if (stringp c)
(split-string c)
(mapcar 'shell-quote-argument c)))
(let* ((split (cond ((stringp c) (split-string c))
((sequencep c) c)
(t (error "Invalid command: %S" c))))
(c (mapconcat 'identity split " "))
(name (car split))
(program (el-get-build-command-program name))
Expand Down

0 comments on commit 11ef806

Please sign in to comment.