Commit 75f61b2b authored by Jonathan Leech-Pepin's avatar Jonathan Leech-Pepin

Fixed quoting error on Linux System and a typo. Added fossil to list of methods.

This commit successfully passes "test/test-recipe.sh vc-fossil".
parent 082df9f9
......@@ -42,5 +42,6 @@
(require 'el-get-github-zip)
(require 'el-get-pacman)
(require 'el-get-svn)
(require 'el-get-fossil)
(provide 'el-get-methods)
......@@ -46,15 +46,16 @@ are stored in the package directory"
;; are all treated equally
(checkout (or (plist-get source :checkout)
(plist-get source :branch)
(plsit-get source :tag)
""))
(plist-get source :tag)
"trunk"))
(clone-args (list "clone" url fossil-name))
;; Allow per-recipe overrides for .fossil location
(fossil-dir (or (plist-get source :fossil-dir)
el-get-fossil-dir
pdir)))
pdir))
(open-args (list "open" (expand-file-name fossil-name fossil-dir) checkout))
(ok (format "Package %s installed." package))
(ko (format "Could not install package %s." package))
(ko (format "Could not install package %s." package)))
(el-get-start-process-list
package
(list
......@@ -79,9 +80,7 @@ are stored in the package directory"
:buffer-name name
:default-directory pdir
:program fossil-executable
:args (list "open" (format "%s %s"
(expand-file-name fossil-name fossil-dir)
checkout))
:args open-args
:message ok
:error ko))
post-install-fun)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment