mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Use "or" instead of "if" to choose between alternatives
This commit is contained in:
parent
6abbd8a600
commit
72ebbf1b22
|
@ -34,9 +34,8 @@
|
|||
(pdir (file-name-as-directory (concat el-get-root package)))
|
||||
(git (or (executable-find "git")
|
||||
(error "Unable to find `git'")))
|
||||
(url (if (bound-and-true-p el-get-git-install-url)
|
||||
el-get-git-install-url
|
||||
"http://github.com/dimitri/el-get.git"))
|
||||
(url (or (bound-and-true-p el-get-git-install-url)
|
||||
"http://github.com/dimitri/el-get.git"))
|
||||
(default-directory el-get-root)
|
||||
(process-connection-type nil) ; pipe, no pty (--no-progress)
|
||||
(el-get-default-process-sync t) ; force sync operations for installer
|
||||
|
|
Loading…
Reference in New Issue
Block a user